react-useportal icon indicating copy to clipboard operation
react-useportal copied to clipboard

🌀 React hook for Portals

Results 48 react-useportal issues
Sort by recently updated
recently updated
newest added

*** ☝️ **Important announcement:** Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! [Find out how to migrate to Snyk and more at...

greenkeeper

Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. Commits 6370e90 Mark version 5.7.4 fbc15b1 More rigorously check surrogate pairs in regexp validator See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=acorn&package-manager=npm_and_yarn&previous-version=5.7.3&new-version=5.7.4)](https://help.github.com/articles/configuring-automated-security-fixes) Dependabot...

dependencies

Hi, I love this hook! Works well in most cases for things like tooltips. I've found that if many instances of this hook are created at once (.e.g 50 or...

I am using simple implementation of the `usePortal` and I was wondering if it possible to implement option with `onFocus` event. At moment usePortal only use onClick event that bind...

Just a suggestion based upon a gotcha I encountered. When using SSR you get 'document is not defined' (since document is client side only). I modified your example to remedy...

Would you consider adding support for className? e.g. ```jsx My modal component ``` Or if this API is not desired, then I could adjust the PR to be like this...

1. Styling the Portal directly with props ```js const useModal = () => { const { isOpen, togglePortal, closePortal, Portal } = usePortal() const Modal = useCallback(({ style, ...props })...

When resizing the screen, we need to have this handler

Is React Native support on the roadmap? Or are PR's for this welcome?