Questions tagged [react-popper]

46 questions
1
vote
1 answer

React-Popper + custom Components using Hooks

I have a set of Components that should not use react-popper internally. I'm trying to have them be used as Reference with react-popper. I get that the solution is to use forwardRef, however, I spent hours trying to do it without great success. Is…
Mose
  • 1,781
  • 3
  • 16
  • 35
0
votes
1 answer

How to style react-popper using render props in class components

Just updated to react-popper 2.3.0 and @popperjs/core: "2.11.6 Tring to set the style as desribed on it's own doc, but writing:
opened
} strategy="fixed" /> returns the error Property 'red'…
Alberto3
  • 35
  • 2
  • 4
0
votes
1 answer

how to get single Popper to render in mapping using React usePopper

I have a mapping in a reactstrap table. The first of every row should open a popper/tooltip like this: I added the popper to my code using usePopper hook from react-popper library. I'm successfully rendering the popper but since the element is…
giosan
  • 291
  • 1
  • 4
  • 15
0
votes
1 answer

Issue positioning popper tooltip inside scaled iframes

I'm having issue positioning popper on a scaled iframe element. In the screenshot you can see that the element is wrongly positioned both on the X and Y axis. The scale is applied with a css rule transform: scale(x) In this sandbox you can…
endosama
  • 63
  • 1
  • 5
0
votes
1 answer