material-web icon indicating copy to clipboard operation
material-web copied to clipboard

`elevation-overlay` demo is broken

Open hello-smile6 opened this issue 3 years ago • 1 comments

Describe the bug The elevation-overlay demo fails to run.

To Reproduce Steps to reproduce the behavior:

  1. Go to material-components.github.io/material-web/demos/elevation-overlay
  2. Observe the content. Or, if you prefer, the absence of it.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Browser Version (please complete the following information):

Additional context It seems like index.js failed to build, based on the content of the first line. An empty commit might fix it...

import{style as t}from"@material/mwc-elevation-overlay/mwc-elevation-overlay-css";

Based on the error in IE11, the CSS for the component might be failing to load while building.

DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337
elevation-overlay
HTML1300: Navigation occurred.
elevation-overlay
SCRIPT5009: 'mwcElevationOverlayCss' is undefined
index.es5.js (1,2)

Based on the build log, it seems that building the CSS failed. https://github.com/material-components/material-web/runs/5677794914?check_suite_focus=true#step:4:520 Chromium DevTools log: material-components.github.io-1648168319660.log

hello-smile6 avatar Mar 25 '22 00:03 hello-smile6

Thanks for the bug! We'd welcome a PR to address it

asyncliz avatar Mar 25 '22 18:03 asyncliz

Obsolete in M3

asyncliz avatar Apr 25 '23 04:04 asyncliz