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

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -