WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
77445
lion scrollbars not showing on inner div with translate3d and z-index
https://bugs.webkit.org/show_bug.cgi?id=77445
Summary
lion scrollbars not showing on inner div with translate3d and z-index
jeanfelixg
Reported
2012-01-31 09:09:38 PST
Hi, I spent hours trying to figure out why my inner div do not show the scrollbars on OS X 10.7. I'm using the scrollbars that show only while scrolling. There is no issue if the setting the system preference "Show scroll bars" is set to "always". Here is the use case: 2 div overlaps. The first div uses a translate3d transform. The second div uses a bigger z-index to show on top of the first one. The second div needs a scroll bar to render. The user can scroll but there is no scrollbar visible. I attach a small test file. The red box is the first div. The green box is overlapping and should have a scrollbar (test1 to test10). In this small test case, adding "-webkit-transform: translate3d(0px, 0px, 0px);" to the collection div fixes the problem. But in my application, it does'nt work. In the nigthly build of webkit, you may have to resize a bit the window to enable scrolling in the inner div (green box)... In Safari (Version 5.1.2 (7534.52.7)), you don't have to do that. Chrome Version 16.0.912.77 is having the same issue. Is there a workaround ? Thanks. Jeff
Attachments
small use case with 2 div overlapping. The scroll bars on the green box don't show.
(903 bytes, text/html)
2012-01-31 09:11 PST
,
jeanfelixg
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
jeanfelixg
Comment 1
2012-01-31 09:11:21 PST
Created
attachment 124755
[details]
small use case with 2 div overlapping. The scroll bars on the green box don't show.
Simon Fraser (smfr)
Comment 2
2012-02-01 01:07:20 PST
This appears to be an overlay scrollbars issue, not a compositing issue; disabling compositing does not fix it.
Jithin Emmanuel
Comment 3
2012-04-08 09:32:05 PDT
Hi, I am facing the same issue in my project. Is there any workaround for this?
jonjohnjohnson
Comment 4
2018-12-10 07:35:26 PST
Though maybe still an issue for the old OS X 10.7, seems to not be an issue anymore. Can't reproduce in 10.12.6 w/ safari 12 at least.
Alexey Proskuryakov
Comment 5
2018-12-10 09:48:33 PST
Thank you for checking!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug