-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix(driver): Sticky elements within a fixed container will not prevent an element from being scrolled to #18441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
271dcbd
add test
davidmunechika 43fb341
try other scroll behavior options
davidmunechika 496945b
refactor scroll until visible
davidmunechika f3d05c6
allow overriding with scrollBehavior
davidmunechika c833f0b
Merge branch 'develop' into issue-4233-click-sticky-element
davidmunechika 95d2211
add comment
davidmunechika 0195ca0
rename userSetScrollBehavior
davidmunechika 4f254e6
refactor if else
davidmunechika 5af31e0
add custom scroll behavior test
davidmunechika d57dd85
Merge branch 'develop' into issue-4233-click-sticky-element
davidmunechika 3d0cebb
add tests for other scrolling commands
davidmunechika 5e8deda
Merge branch 'issue-4233-click-sticky-element' of https://github.com/…
davidmunechika 5d688da
Merge branch 'develop' into issue-4233-click-sticky-element
davidmunechika 2bd2851
refactor scrollBehavior option
davidmunechika 1f83d11
Merge branch 'issue-4233-click-sticky-element' of https://github.com/…
davidmunechika f0ddb9b
Merge branch 'develop' into issue-4233-click-sticky-element
davidmunechika 28834b5
refactor ensure visibility
davidmunechika 3d8eb4c
Merge branch 'issue-4233-click-sticky-element' of https://github.com/…
davidmunechika 2f9a14f
remove chai import
davidmunechika 981f297
fix trigger test
davidmunechika 7a0b1c1
remove user set scroll behavior
davidmunechika 2e9207c
Merge branch 'develop' into issue-4233-click-sticky-element
davidmunechika 15a22b5
fix clear spec
davidmunechika 2bccbff
fix error message
davidmunechika b0b348b
fix select case
davidmunechika 8330767
Merge branch 'develop' into issue-4233-click-sticky-element
davidmunechika f2a4b1f
update tests
davidmunechika dbbe481
Merge branch 'issue-4233-click-sticky-element' of https://github.com/…
davidmunechika 1de8681
add comment
davidmunechika 1d0f1f7
Merge branch 'develop' into issue-4233-click-sticky-element
davidmunechika 5aa6dc7
Merge branch 'develop' into issue-4233-click-sticky-element
davidmunechika File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<body> | ||
<div class="overlay-background" style="position: fixed; width: 300px"> | ||
<div class="sidepanel" id="container" style="position: absolute; height: 300px; overflow: auto;"> | ||
<header class="sticky-header" style="position: sticky; top: 0; left: 0; height: 50px; background-color: blue;"> | ||
sticky header | ||
</header> | ||
<div style="height: 500px"> | ||
<p>content to scroll to</p> | ||
<input type="text" value="input"> | ||
<input type="checkbox" id="vehicle1" name="vehicle1" value="Bike"> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.