Skip to content

remove opinionated scroll preventing behavior

Compare
Choose a tag to compare
@renatodeleao renatodeleao released this 29 Apr 09:39
· 162 commits to master since this release

adding overflow hidden to this.$root was assuming too much of it's html markup structure and could create unwanted side effects (like empty scrollbars on non-full-width root divs).

This was added to prevent modal jump, but adding overflow-y: scroll to html is way more common now.

Anyways, if you need that kind of control, add watcher the open prop of your composition, and perform your custom side-effects there.