DescriptionScrollbar ThumbLength is not updated, when window size is changed.
When a pop-up is opened the window size is 367 and content size is 451
and scrollbar of thumblength 202 is created. Pop-Window height has been
resized to 451 because of JS . Before resizing of Pop-Window scrollbar
thumb_length of 202 is been applied. After resizing Pop-Window vertical
scrollbar is disabled during UpdateScrollbarGeometry(has_thumb_ = false).
Now When PaintedScrollbarLayer::UpdateThumbAndTrackGeometry is called
after pop-up window resize, as has_thumb_ = false , UpdateProperty on
thumb_length_ is not applied, due to which we are seeing the unwanted
scrollbar
BUG=400136
Committed: https://crrev.com/ba7e0499e10b1c65ead54148a7582e0c60be6c6d
Cr-Commit-Position: refs/heads/master@{#293218}
Patch Set 1 #Patch Set 2 : added variable has_thumb_pre_ (previously) #
Total comments: 5
Patch Set 3 : Added Test Case #Patch Set 4 : Modified Variable Name #
Total comments: 1
Patch Set 5 : addressed review comments #
Total comments: 4
Patch Set 6 : addressed review comments #
Messages
Total messages: 19 (4 generated)
|