javascript - Clicking on md-select creates unecessary "overflow-y: scroll;" to my <body> -
i have on body:
element.style { -webkit-app-region: drag; } but when click on md-select element (you can see behaviour on link!) new styles added.
element.style { -webkit-app-region: drag; overflow-y: scroll; position: fixed; width: 100%; top: 0px; } i tried manually overflow-y hidden gets overwrited. have idea how can hide scrolling bar?
the reason overflow-y gets overwritten because custom css comes before whatever other css using. there nothing wrong using !important, should know why solution necessary can prevent in future or disregard using putting custom css after other css use.
Comments
Post a Comment