gilbarbara / react-floater

Advanced tooltips for React
https://codesandbox.io/s/github/gilbarbara/react-floater/tree/main/demo
MIT License
220 stars 37 forks source link

Placement Center with Spotlight #73

Closed afrancht closed 4 years ago

afrancht commented 4 years ago

🚀 Feature Idea

It would be great to be able to put a label in the center of a spotlight.

Motivation

It would look cleaner and not scroll when highlighting big components

Example

Would be great of instead of this. The label with the info would appear in the middle of the spotlight! I know offsetting is a solution, but will cause a lot of trouble in different size displays. image

Please provide an example of how this feature would be used.

gilbarbara commented 4 years ago

Hey

I'm not sure what you mean by "It would be great to be able to put a label in the center of a spotlight."

Did you try using placement center?

gilbarbara commented 4 years ago

Isn't this is issue for react-joyride instead?