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

I have a sizable project where I used react-useportal in a few places, and now I am working on upgrading it from running React 17.9 to React 18.2. Are there...

This makes it a bit easier to quickly select the desired command for copying and pasting.

I moved `appendChild` in the `useEfect` of the hook to the `Portal` fucntion's `useEfect`, so that we won't have an empty div right after we call `usePortal`. The portal will...

I'm trying to open a modal on another modal using react-useportal. I manage to make it happen, but I'm getting the following error when I am trying to close or...

Can we somehow prevent this package from adding empty divs to the end of the body on init? ![Untitled-1](https://user-images.githubusercontent.com/17354422/71134886-2be51800-2200-11ea-80a6-f4010949f1ce.jpg)

enhancement
todo

**Describe the bug** `Warning: Did not expect server HTML to contain a in .` in nextjs React-17 ssr. **⚠️ Make a Codesandbox ⚠️** https://codesandbox.io/s/useportal-in-nextjs-codesandbox-container-forked-oh10i?file=/pages/index.js **To Reproduce** Run the sandbox and...

Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@​ChALkeR). Fix boolean schemas with strictKeywords...

dependencies

I'm trying to openPortal on route change. When route changes, I get; You must either add a `ref` to the element you are interacting with or pass an `event` to...

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tmpl&package-manager=npm_and_yarn&previous-version=1.0.4&new-version=1.0.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Bumps [tar](https://github.com/npm/node-tar) from 4.4.13 to 4.4.19. Commits 9a6faa0 4.4.19 70ef812 drop dirCache for symlink on all platforms 3e35515 4.4.18 52b09e3 fix: prevent path escape using drive-relative paths bb93ba2 fix: reserve...

dependencies