LuckPermsWeb icon indicating copy to clipboard operation
LuckPermsWeb copied to clipboard

continuity-problem with browser tab / windows switch in input-flields

Open RedstoneFuture opened this issue 5 years ago • 3 comments

If I switch the browser tab in the "add permissions" field my input are deleted. (00:02) - So for example with a simple permission check in a plugin wiki-site the permission-input (maybe complex with regex etc.) are deleted.

In the context input it works as before the switch. (00:13) No change at here.

And If I added a listed permission, the edition was saved with the tab-switch. (00:21) This point isn't so bad, but all in all it's a continuity-problem, I think.

https://redstoneworld.de/videos/intern/LuckPerms-TabSwitch.mp4

RedstoneFuture avatar Jun 26 '20 19:06 RedstoneFuture

Probably an issue with the vue-multiselect package.

Tobi406 avatar Jun 26 '20 19:06 Tobi406

Probably an issue with the vue-multiselect package.

I'm considering just creating my own drop-down component instead of having to rely on this plugin which seems to be the cause of a lot of issues here.

Turbotailz avatar Jun 28 '20 04:06 Turbotailz

I think I got a solution figured out. We need to remove this line. Cloned the repo, removed the line, ran npm run dev. Now on the page, if I enter something and switch the tab and switch back again, it seems to work, while on the original page it does not work. Not sure if this breaks other stuff, we would need to test that out further.

Tobi406 avatar Jul 03 '20 19:07 Tobi406