Open srijken opened 5 years ago
Possible solution for those who encounters similar issues on IE11:
Before you set spinner.active = true (or false), remove the spinner class attribute first. (i.e. spinner.removeAttribute("class"))
.
Don't worry, polymer will re-add the classes and somehow everything will work fine.
Description
When the active property becomes true, and false again too quickly, Internet Explorer doesn't hide the spinner.
Expected outcome
With
active === false
the spinner should not be visibleActual outcome
The spinner is visible if active toggles too quickly.
Live Demo
Live demo is not possible because
polymer serve
is needed to transpile for Internet Explorer. A working repro of the problem is available at https://github.com/srijken/paper-spinner-ie-reproSteps to reproduce
https://github.com/srijken/paper-spinner-ie-repro
yarn install
polymer serve
Browsers Affected