Skip to content

Clicking on classhelper link multiple times opens multiple popups, should open one and move/focus it in foreground on click. #37

@rouilj

Description

@rouilj

With the classic classhelper link, clicking on the link to open the popup it reuses the window and
moves the existing open popup to the foreground (while resetting the internal contents 8-().

When clicking the link with the web component a new window is popped up. This is fine if it's for a different
classhelper link. But if I click twice on the same classhelper link, I should only get the already open popup moved to
the foreground.

It would be nice to have this selectable in the component:

<roundup-classhelper multiwindow=1>

as I can see a use case for having multiple windows open. But this requires that the user be careful to not Apply the
wrong window. Basically having multiple windows like this is a footgun that should not happen.

If the easiest way to handle this is to have only one popup window at a time (rather than one per property) I am ok
with that, as we have that now.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions