Skip to content

Commit

Permalink
fix: use fixed position for ProductTour Checkpoints's (#2863)
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorrusakov authored Dec 8, 2023
1 parent 8f2c06c commit f914aeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ProductTour/Checkpoint.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const Checkpoint = React.forwardRef(({
// Use the Popper library to translate the Checkpoint to its target's coordinates
const checkpointPopper = createPopper(targetElement, checkpoint, {
placement: isMobile ? 'top' : placement,
strategy: 'fixed',
modifiers: [
{
name: 'arrow',
Expand Down

0 comments on commit f914aeb

Please sign in to comment.