featherlight icon indicating copy to clipboard operation
featherlight copied to clipboard

With Persist enabled, cannot open multiple links to same popup.

Open ThelsK opened this issue 6 years ago • 1 comments

What kind of issue is this? (put 'x' between the square brackets)

  • [ ] Question. This issue tracker is not the place for questions. If you want to ask how to do something, or to understand why something isn't working the way you expect it to, use http://stackoverflow.com/questions/ask . Provide working code, starting from http://jsfiddle.net/JNsu6/15/. We monitor the tag featherlight.js.

  • [x] Bug report. If you’ve found a bug, you must provide a minimal example in a CodePen, starting from http://jsfiddle.net/JNsu6/15/ .

  • [ ] Feature Request. Make sure there's no good way to do what you want first; consider asking on http://stackoverflow.com/questions/ask first.

When Persist is enabled, if multiple links open the same popup, then only the first link that the user clicks properly displays the contents. Closing the popup and opening other links leading to the same popup display a tiny empty popup screen.

The problem only occurs with Persist enabled. There is no issue while Persist is disabled.

Example: http://jsfiddle.net/9jxnyos3/

This seems similar to #208 but it seems that one never got fixed. Only a workaround was provided.

ThelsK avatar Feb 27 '20 10:02 ThelsK

Great bug report :+1:

I need to revisit the persist option...

marcandre avatar Feb 28 '20 20:02 marcandre