Skip to content

allow scrolling past child layer, when a new scroll starts at the end of child layer - #465

Closed
gterzian wants to merge 2 commits into
servo:masterfrom
gterzian:allow_scroll_past_end_of_child_layer
Closed

gterzian wants to merge 2 commits into
servo:masterfrom
gterzian:allow_scroll_past_end_of_child_layer

Conversation

@gterzian

@gterzian gterzian commented Oct 22, 2016 •

Copy link
Copy Markdown
Member

WIP for servo/servo#13249


This change is Reviewable

@gterzian gterzian changed the title allow scrolling pas child layer, when a new scroll starts at end allow scrolling past child layer, when a new scroll starts at end Oct 22, 2016
@gterzian gterzian changed the title allow scrolling past child layer, when a new scroll starts at end allow scrolling past child layer, when a new scroll starts at the end of child layer Oct 22, 2016
@gterzian
gterzian force-pushed the allow_scroll_past_end_of_child_layer branch 11 times, most recently from 7d38381 to b79cac5 Compare October 29, 2016 09:06
@gterzian
gterzian force-pushed the allow_scroll_past_end_of_child_layer branch 2 times, most recently from 5c026ca to 5618b78 Compare October 30, 2016 13:30
@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #488) made this pull request unmergeable. Please resolve the merge conflicts.

@gterzian
gterzian force-pushed the allow_scroll_past_end_of_child_layer branch from 5618b78 to 685b2af Compare October 31, 2016 04:18
@glennw

glennw commented Oct 31, 2016

Copy link
Copy Markdown
Member

r? @pcwalton

@gterzian
gterzian force-pushed the allow_scroll_past_end_of_child_layer branch from 685b2af to 87ffa1d Compare October 31, 2016 05:02
@gterzian

Copy link
Copy Markdown
Member Author

To summarize what was discussed in servo/servo#13249

@pcwalton

pcwalton commented Nov 1, 2016

Copy link
Copy Markdown
Contributor

Is this ready for review and ready to go?

@gterzian

gterzian commented Nov 2, 2016

Copy link
Copy Markdown
Member Author

@pcwalton yes it is, thank you for your time.

@gterzian

gterzian commented Nov 3, 2016 •

Copy link
Copy Markdown
Member Author

@pcwalton since from the issue itself it might not be clear what the goal of this PR is, there are two:

  1. When a child layer has scrolled to it's end, and a new scroll gesture is started, start scrolling the nearest parent layer. Current behavior: one is stuck inside the child layer.
  2. When one is scrolling a layer, and one encounters a scrollable child layer, one should keep scrolling the currently scrolling parent layer. Current behavior: the scroll is 'captured' by the child layer, which starts scrolling.

See the comments above for links to the discussions around this within the issue.

@gterzian
gterzian force-pushed the allow_scroll_past_end_of_child_layer branch 5 times, most recently from 2e46231 to bb584cf Compare November 3, 2016 15:18
@gterzian
gterzian force-pushed the allow_scroll_past_end_of_child_layer branch from bb584cf to 3b33c0e Compare November 3, 2016 15:19
@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #517) made this pull request unmergeable. Please resolve the merge conflicts.

@gterzian

gterzian commented Nov 4, 2016

Copy link
Copy Markdown
Member Author

@pcwalton @glennw Since there was quite a big change in the scroll function, I am currently looking if my changes are necessary at all, and if so, how to re-implement based on the latest... I'll let you know when that is done...

@mrobinson

Copy link
Copy Markdown
Member

@gterzian Let me know if you need my input for that. I'm sorry that my change stomped on yours!

@gterzian

gterzian commented Nov 4, 2016

Copy link
Copy Markdown
Member Author

@mrobinson thanks for your offer of input, and no problem at all! 😄

Let me get a better look at the changes, and test the latest behaviour, then I'll get back to you...

@gterzian

gterzian commented Nov 6, 2016

Copy link
Copy Markdown
Member Author

@pcwalton @glennw ok from my initial testing it seems that the behavior suggested in #465 (comment) is still something that needs to be implemented.

@mrobinson perhaps it's best if I wait until the servo part of you work has been merged, and then use that as a basis for exploring how to re-implement my changes?

@gterzian

gterzian commented Nov 6, 2016

Copy link
Copy Markdown
Member Author

closing, in favor of #533

@gterzian gterzian closed this Nov 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants