![]() However this did not work for me, although the scrolling sections worked (after I had modified the Modernizr css-overflow-scrolling test to return true for this version of Chrome) the momentum effect of the scrolling was not present. So it would seem that if you are having issues with the scrolling not working as expected then adding z-index: 0 to the element with overflow: scroll then this may help. (This behavior, behindĮNABLE_ACCELERATED_OVERFLOW_SCROLLING, is currently enabled only onĪndroid.) The obvious fix would be to set z-index: 0 on only Non-hidden elements with that property creates a cascade of stackingĬontexts below it. The -webkit-overflow-scrolling: touch property and value were created especially for the case of overflow scrolling within the browser. So the behavior of setting z-index: 0 on all Tien-Ren observed while debugging 162363 that -webkit-overflow-touch This was also compounded for me by the fact that due to this change the current Modernizr test for this feature now returns false, so my CSS styles were not being applied.ĭigging around I found another issue that discusses the support for overflow scrolling touch: I am currently experiencing this issue after updating to the latest version of Chrome for Android. Try adding z-index: 0 to the element with overflow: scroll to create a stacking-context that provides a hint to Chrome to use the fast-scrolling code path. Try adding z-index: 0 to the element with overflow: scroll to create a stacking-context that provides a hint to Chrome to use the fast-scrolling code path.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |