-
Notifications
You must be signed in to change notification settings - Fork 531
Define steps for scrolling element into view #300
Comments
This issue is discussed in whatwg/html#94 - I'm not sure who's got the lead here, WHATWG or W3C… |
I'm flexible. From the other issue, it looks like the scrollIntoView hook in CSSOM View has been added (w3c/csswg-drafts#81), so we just need to link into it at the appropriate place. I'd prefer a PR here, of course, but can integrate a change from WHATWG easily enough :) |
I noticed that scrolling triggered by focusing input elements behaves differently in browsers. If there is a value for each input element, in Firefox(53), the scrolling stops when the value of the input element comes into view even if the input element is partially visible. Is this just a bug of Firefox? I bring this up because the discussion in Bugzilla ( https://www.w3.org/Bugs/Public/show_bug.cgi?id=27913) was moved to here. : ) |
I think it's "sub-optimal" implementation in Firefox, which is a kind of bug. So as @rodneyrehm said elsewhere I think we should keep some leeway in where exactly scrolling puts things, which would allow current behaviours. Finally it doesn't look like anyone has made much progress on this. @travisleithead do you think you're going to get this covered with the current milestone? Does anyone want to pick it up and deal with it? |
I'm working on a virtualized rendering component that manually controls the positioning of elements using It would be great if this was spec'd such that I could prevent this container from ever scrolling. |
for review: Fix 'scroll an element into view' invocations |
We're closing this issue on the W3C HTML specification because the W3C and WHATWG are now working together on HTML, and all issues are being discussed on the WHATWG repository. |
Migrated from Bugzilla #27913.
Ping @rodneyrehm
The text was updated successfully, but these errors were encountered: