Skip to content

Releases: juliankrispel/react-text-selection-popover

1.2.0

19 Sep 12:18
Compare
Choose a tag to compare
  • Popover now repositions itself when window resizes or scrolls
  • Added scrollRef prop to react to scrolls of elements other than window

1.0.1

07 Sep 14:42
Compare
Choose a tag to compare

✨ Introduce placementProp - Override how placement of popover is
computed
🔥 Deprecate direction prop in favor of above
✨ Add alternative placement strategy (as optional import) in lib folder
🚑 Fix prop type error caused by react-measure by forking project
🚑 Only mount EventListener component when selectionRefs are defined to avoid prop error