RESOLVED FIXED 198656
REGRESSION (r245006): Setting scrollview.scrollEnabled clobbers any scrollEnabled set by a client
https://bugs.webkit.org/show_bug.cgi?id=198656
Summary REGRESSION (r245006): Setting scrollview.scrollEnabled clobbers any scrollEna...
Antti Koivisto
Reported 2019-06-07 05:17:26 PDT
Remember user setting separately.
Attachments
patch (4.18 KB, patch)
2019-06-07 05:23 PDT, Antti Koivisto
fred.wang: review+
with zooming fix too (5.17 KB, patch)
2019-06-07 13:01 PDT, Antti Koivisto
no flags
Antti Koivisto
Comment 1 2019-06-07 05:18:12 PDT
Antti Koivisto
Comment 2 2019-06-07 05:23:38 PDT
Tim Horton
Comment 3 2019-06-07 10:30:48 PDT
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).
Antti Koivisto
Comment 4 2019-06-07 10:54:01 PDT
If this pattern looks ok I can do zoom too here as it is basically the same thing.
Simon Fraser (smfr)
Comment 5 2019-06-07 11:06:40 PDT
Devs have also complained about scroll-snap code overriding the deceleration values.
Wenson Hsieh
Comment 6 2019-06-07 11:18:08 PDT
(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 :/
Wenson Hsieh
Comment 7 2019-06-07 11:19:39 PDT
(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...
Tim Horton
Comment 8 2019-06-07 11:38:42 PDT
(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).
Antti Koivisto
Comment 9 2019-06-07 13:01:47 PDT
Created attachment 371604 [details] with zooming fix too
WebKit Commit Bot
Comment 10 2019-06-07 22:05:51 PDT
Comment on attachment 371604 [details] with zooming fix too Clearing flags on attachment: 371604 Committed r246230: <https://trac.webkit.org/changeset/246230>
WebKit Commit Bot
Comment 11 2019-06-07 22:05:53 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.