-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Adding a non-existent tag to a chapter requires to save twice. #3931
Comments
Just tried to replicate on our demo instance, using Firefox 107.0.1 on MacOS, and could not get the issue to occur. |
good |
This comment was marked as spam.
This comment was marked as spam.
Just tested it on another computer and another network and it's same behavior. |
@Pafzedog Thanks for testing further. Just tested this again on chromium I'm also was not ever, without hacking, able to submit the form without triggering the new row to display. I'd click the save button but it would jump from the cursor due to the new row popping in. |
Oooooh, I totally understand you now, sorry for the confusion. I thought you meant the chapter was saved but the tag was not. Might have to tweak this to add the new row sooner, when input is is started for the previous tag rather than on un-focus. |
Prevented interferance with the user's action if they interacted with something below the tags, since a new row would be added on blur and hence shift down positions. For #3931
Describe the Bug
When adding an unknown tag to a chapter, the first click on the save button does not work properly.
Steps to Reproduce
Expected Behaviour
Chapter is saved and also the new Tag
Screenshots or Additional Context
Browser Details
102.6.0esr (64 bits) on Windows
Exact BookStack Version
22.11 and actual demo version
PHP Version
7.4.33
Hosting Environment
Debian 11 LXC on proxmox
manual installation with nginx
The text was updated successfully, but these errors were encountered: