Copybara bot | be50d49 | 2023-11-30 00:16:42 +0100 | [diff] [blame^] | 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="UTF-8"> |
| 5 | <title>Chrome Ripple Issue</title> |
| 6 | <!-- styles --> |
| 7 | <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&lang=en"> |
| 8 | <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> |
| 9 | <link rel="stylesheet" href="https://code.getmdl.io/1.2.1/material.indigo-pink.min.css"> |
| 10 | </head> |
| 11 | <body> |
| 12 | <!-- Always shows a header, even in smaller screens. --> |
| 13 | <div class="mdl-layout mdl-js-layout mdl-layout--fixed-header"> |
| 14 | <header class="mdl-layout__header"> |
| 15 | <div class="mdl-layout__header-row"> |
| 16 | <!-- Title --> |
| 17 | <span class="mdl-layout-title">Title</span> |
| 18 | <!-- Add spacer, to align navigation to the right --> |
| 19 | <div class="mdl-layout-spacer"></div> |
| 20 | <!-- Navigation. We hide it in small screens. --> |
| 21 | <nav class="mdl-navigation mdl-layout--large-screen-only"> |
| 22 | <a class="mdl-navigation__link" href="">Link</a> |
| 23 | <a class="mdl-navigation__link" href="">Link</a> |
| 24 | <a class="mdl-navigation__link" href="">Link</a> |
| 25 | <a class="mdl-navigation__link" href="">Link</a> |
| 26 | </nav> |
| 27 | </div> |
| 28 | </header> |
| 29 | <div class="mdl-layout__drawer"> |
| 30 | <span class="mdl-layout-title">Title</span> |
| 31 | <nav class="mdl-navigation"> |
| 32 | <a class="mdl-navigation__link" href="">Link</a> |
| 33 | <a class="mdl-navigation__link" href="">Link</a> |
| 34 | <a class="mdl-navigation__link" href="">Link</a> |
| 35 | <a class="mdl-navigation__link" href="">Link</a> |
| 36 | </nav> |
| 37 | </div> |
| 38 | <main class="mdl-layout__content"> |
| 39 | <div class="page-content" style="padding: 128px 0 0 32px"><!-- Your content goes here --> |
| 40 | |
| 41 | <h2>Ripple Issue</h2> |
| 42 | <ul> |
| 43 | <li>What MDL Version: material-design-lite-1.2.1</li> |
| 44 | <li>What browser(s) is this bug affecting (including version)? Chrome Version 53.0.2785.116 (64-bit)</li> |
| 45 | <li>What OS (and version) are you using? OSX, 10.11.6</li> |
| 46 | <li>What are the steps to reproduce the bug? |
| 47 | <ol> |
| 48 | <li>Resize browser until a scrollbar appears</li> |
| 49 | <li>Scroll the menu button into view</li> |
| 50 | <li>It's important to scroll, at least some pixels, to see the effect of this issue</li> |
| 51 | <li>Click the button to open the menu</li> |
| 52 | <li>The position of the content changes position while button ripple is animatings</li> |
| 53 | <li>Click on a menu item to close the menu</li> |
| 54 | <li>The position of the content changes while menu ripple is animating</li> |
| 55 | </ol> |
| 56 | </li> |
| 57 | <li>What is the expected behavior? The position of the should stay fixed</li> |
| 58 | <li>What is the actual behavior? The position of the page content changes</li> |
| 59 | </ul> |
| 60 | |
| 61 | <div style="margin: 32px 0 640px 32px;"> |
| 62 | <p><strong>Click the button</strong></p> |
| 63 | <button id="demo-menu-lower-left" style="height:46px; width:46px;" |
| 64 | class="mdl-button mdl-js-button mdl-button--icon mdl-js-ripple-effect"> |
| 65 | <i class="material-icons">more_vert</i> |
| 66 | </button> |
| 67 | |
| 68 | <ul class="mdl-menu mdl-menu--bottom-left mdl-js-menu mdl-js-ripple-effect" |
| 69 | for="demo-menu-lower-left"> |
| 70 | <li class="mdl-menu__item">Some Action</li> |
| 71 | <li class="mdl-menu__item mdl-menu__item--full-bleed-divider">Another Action</li> |
| 72 | <li disabled class="mdl-menu__item">Disabled Action</li> |
| 73 | <li class="mdl-menu__item">Yet Another Action</li> |
| 74 | </ul> |
| 75 | </div> |
| 76 | |
| 77 | <p>Some text</p> |
| 78 | |
| 79 | </div> |
| 80 | </main> |
| 81 | </div> |
| 82 | <script src="https://code.getmdl.io/1.2.1/material.min.js" type="text/javascript" charset="utf-8"></script> |
| 83 | </body> |
| 84 | </html> |