Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popper doesn't flip #835

Closed
NemoDima opened this issue Oct 22, 2019 · 3 comments
Closed

Popper doesn't flip #835

NemoDima opened this issue Oct 22, 2019 · 3 comments
Labels
bug Something is not working. Fixed in popper@2.x This issue has been fixed in version 2.x PRIORITY: high

Comments

@NemoDima
Copy link

NemoDima commented Oct 22, 2019

CodePen demo

https://codepen.io/vovaltus/pen/rNNjONg

Steps to reproduce the problem

  1. Move "Drag me" popper left
  2. "Flipping popper" doesn't flip

What is the expected behavior?

"Flipping popper" flip

What went wrong?

"Flipping popper" doesn't flip
Please, check zipped .flv file
2019-10-21 17-39-30.zip

Any other comments?

It works properly if I use:
flip: { behavior: ['left', 'right'] },
instead of
flip: { behavior: ['left-start', 'right-start'] },

https://codepen.io/vovaltus/pen/oNNYRKb?editors=0010
Please, check zipped .flv file
2019-10-21 17-40-30.zip

Maybe it corresponds to #512 and #754 but without documentation or explanation, I can't understand how I can solve it.

Appreciated for help.

@NemoDima
Copy link
Author

@FezVrasta please look at this issue.
I'll be very appreciated.
Regards, Dmytro

@FezVrasta
Copy link
Member

FezVrasta commented Oct 30, 2019

It looks like it works even if you define ['left', 'right-start']. It could be a valid workaround for you.

I'm not sure why this is happening, it looks like a bug.

I cleaned up the CodePen for future reference (ignore it):
https://codepen.io/FezVrasta/pen/RwwLBwY

@NemoDima
Copy link
Author

Thank you a lot!

@FezVrasta FezVrasta added the Fixed in popper@2.x This issue has been fixed in version 2.x label Nov 22, 2019
This was referenced Dec 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working. Fixed in popper@2.x This issue has been fixed in version 2.x PRIORITY: high
Projects
None yet
Development

No branches or pull requests

2 participants