Summary: | REGRESSION (r245006): Setting scrollview.scrollEnabled clobbers any scrollEnabled set by a client | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Antti Koivisto <koivisto> | ||||||
Component: | Scrolling | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, fred.wang, simon.fraser, thorton, wenson_hsieh | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=153852 | ||||||||
Attachments: |
|
Description
Antti Koivisto
2019-06-07 05:17:26 PDT
Created attachment 371582 [details]
patch
Comment on attachment 371582 [details]
patch
We need to do something similar for zoomEnabled and a bunch of other properties, but this is a good start (and fixes a regression, where the others have been broken for ages).
If this pattern looks ok I can do zoom too here as it is basically the same thing. Devs have also complained about scroll-snap code overriding the deceleration values. (In reply to Simon Fraser (smfr) from comment #5) > Devs have also complained about scroll-snap code overriding the deceleration > values. Hm...could've sworn I fixed this in r188541 :/ (In reply to Wenson Hsieh from comment #6) > (In reply to Simon Fraser (smfr) from comment #5) > > Devs have also complained about scroll-snap code overriding the deceleration > > values. > > Hm...could've sworn I fixed this in r188541 :/ Ah, maybe r211197 undid this... (In reply to Antti Koivisto from comment #4) > If this pattern looks ok I can do zoom too here as it is basically the same > thing. Please do! The number of times I've seen people trying to override viewForZooming to achieve this and then hosing everything is v. high (inspiring https://trac.webkit.org/changeset/228253/webkit). Created attachment 371604 [details]
with zooming fix too
Comment on attachment 371604 [details] with zooming fix too Clearing flags on attachment: 371604 Committed r246230: <https://trac.webkit.org/changeset/246230> All reviewed patches have been landed. Closing bug. |