Encountering an issue specific to Chrome version 60.0.3112.90 where changing the disabled
attribute of a button causes it to disappear.
A minimal, complete, and verifiable example has been prepared wherein clicking the +
button toggles the disabled
attribute.
- The element still remains in the DOM
- The element does not have
display: none
applied - Zooming out and then back in reveals the element again (using Ctrl and scroll)
- The element reappears when adding margin or padding attributes to the wrap div
Removing the overflow: hidden
property seems to resolve the issue, but this causes text overlap on buttons in the actual setup. Attempted replacing it with overflow-x: hidden
, but did not work.
Question
- Why does this behavior occur?
- Are there alternative solutions other than removing
overflow: hidden
?