LuckPermsWeb
LuckPermsWeb copied to clipboard
continuity-problem with browser tab / windows switch in input-flields
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
Probably an issue with the vue-multiselect package.
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.
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.