Skip to content

handle relative sectors with scroll and show target - #4089

Open
MichaelWest22 wants to merge 1 commit into
bigskysoftware:four-devfrom
MichaelWest22:scroll-findext
Open

MichaelWest22 wants to merge 1 commit into
bigskysoftware:four-devfrom
MichaelWest22:scroll-findext

Conversation

@MichaelWest22

@MichaelWest22 MichaelWest22 commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

Description

swap modifiers of showTarget and scrollTarget need to pass the target element as the relative position for findExt() relative selectors like closest/next/previous etc. without this they use document as the relative base which is not very useful.

Corresponding issue:
#4087

Testing

Added tests

Checklist

  • I have read the contribution guidelines
  • I have targeted this PR against the correct branch (master for website changes, dev for
    source changes)
  • This is either a bugfix, a documentation update, or a new feature that has been explicitly
    approved via an issue
  • I ran the test suite locally (npm run test) and verified that it succeeded

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.

1 participant