react-portal-popover
react-portal-popover copied to clipboard
A popover library for React, using Portals for better positioning.
Thanks for this simple popover library. I have a scenario where I need to show this portal popover inside Slide-in. But since there is z-index calculation the popover is behind...
This seems to be sufficient to support react 16
Hi @JoshBarr @thibaudcolas! I had a couple of questions as I was trying to see if this would work for my needs - 1. For some of my usecases, like...
A flag should determine whether the tooltip will reposition if there's not enough space. This is the default behaviour but potentially there's reasons to disable it.
Set up codeclimate and [istanbul](https://github.com/gotwarlost/istanbul) on the project.
E.g, using: https://github.com/semantic-release/semantic-release
We need to check that the components are compliant, in an automated way. Possible tools: - https://www.npmjs.com/package/a11y-auditor - https://www.npmjs.com/package/grunt-accessibility - http://pa11y.org/
- [ ] Dialog role - [ ] Label for dialog via H2 element - [ ] How focus is controlled and why - [ ] Link to relevant articles.
JSDOM doesn't let us correctly check positioning on the screen as it doesn't feature a layout engine. Run layout tests in a real (headless) browser.
Replace `.u-accessible` class on the tooltip toggle element with `STYLES.visuallyHidden` from constants.