Skip to content
This repository was archived by the owner on May 26, 2020. It is now read-only.

Base fixes#2

Open
michalbugno wants to merge 11 commits intomasterfrom
base-fixes
Open

Base fixes#2
michalbugno wants to merge 11 commits intomasterfrom
base-fixes

Conversation

@michalbugno
Copy link
Copy Markdown

This creates a branch that should be used when using this repo (vs detached commits until now) + cherry picks focus-trap@68c82d8

@panrafal There are other commits but I don't feel like I could do a sensible rebase there (it's not straightforward), maybe it's worth your time? (probably few minutes ;d)

panrafal and others added 10 commits August 1, 2016 18:10
Otherwise, if multiple focus traps are used, returnFocus will return focus to the previous trap, but it's unpausing will reset focus to the first item.
FocusTrap is perfectly legit in scenarios without focusable elements - like temporarily disabled modal.
Enables focus trap in complex layouts with popovers, where visually connected elements are actually siblings
@panrafal
Copy link
Copy Markdown

If you want to release it, you need to create a new version. Run in the console in focus-trap folder:

npm version 2.0.1-base.2

And then you can install this version in the base app

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants