| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
PatternFly-React preview: https://patternfly-react-pr-2862.surge.sh |
Sorry, something went wrong.
| {modalBox} | ||
| </FocusTrap> | ||
| )} | ||
| <FocusTrap active={!disableFocusTrap} focusTrapOptions={{ clickOutsideDeactivates: true }} className={css(styles.bullseye)}> |
There was a problem hiding this comment.
Neat active property!
Sorry, something went wrong.
There was a problem hiding this comment.
Can you please link the corresponding issue?
Sorry, something went wrong.
|
@tlabaj there's no corresponding issue. I was looking at a different component that uses FocusTrap and just wanted to clean the code up for Modal |
Sorry, something went wrong.
There was a problem hiding this comment.
Nice fix!
Sorry, something went wrong.
There was a problem hiding this comment.
lgtm!
Sorry, something went wrong.
|
Looks great @spytec! We do require a corresponding issue to be linked before we merge a PR. I would be happy to open one for you if you would like. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
What: This removes complexity and uses FocusTrapReact's active prop instead of switching to Bullseye component
Additional issues: #2966