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

Hooks to build things like tooltips, dropdown menu's and popovers in React

Results 29 react-laag issues
Sort by recently updated
recently updated
newest added

**Describe the bug** Update peerDependencies to support react 18. **To Reproduce** Steps to reproduce the behavior: 1. Add react-laag into a project with react 18 2. Try to compile 3....

bug

I'm using this lib for a while with a React `v18.2.0` and everything works fine. So we can basically add React v18 in peerDeps. Cheers 👋

**Describe the bug** Hi Guys, I am using Nextjs 12 with Google Maps. I am wondering if I can use the React-laag Popover element with a map marker. I have...

bug

**Describe the bug** The strange behaviour was only observed in Mozilla Firefox (Chrome, Safari and Microsoft Edge work fine). I have a table with multiply rows and multiply tooltips. Sometimes...

bug

**Describe the bug** I'm trying to use the `useLayer` hook in the shadow DOM. I succeeded in getting the correct styling by using the `container` parameter. Some of the behaviour,...

bug

**Is your feature request related to a problem? Please describe.** I am using react-laag for several nested layers in a rich text editor. First overlayer is a hovering menu above...

**Describe the bug** Minimal get started example does not work properly **To Reproduce** Follow the Quick start example to the letter, and hover "this": the tooltip only flickers once or...

bug

I create layer using following code: const { arrowProps, triggerProps, layerProps, renderLayer, triggerBounds, layerSide } = useLayer({ isOpen: true, placement: 'left-start, possiblePlacements: ['left-start', 'left-center', 'left-end', 'right-start', 'right-center', 'right-end'], auto: true,...

**To Reproduce** Steps to reproduce the behavior: 1. Go to https://codesandbox.io/s/cool-gates-qcd5x?file=/src/App.js:0-66 2. Right-click on all 3 triggers 4. All 3 layers are visible **Expected behavior** Expected `onOutsideClick` to be called.

bug

**Is your feature request related to a problem? Please describe.** When I scroll the parent, react-laag tries to reposition open layers. Mostly this works quite nicely, but sometimes I get...