-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Use separate class for tippy targets #20742
Conversation
Note for future refactor: Enable |
I would strongly suggest to revert the Many things are broken, there may be more: The show/hide game has been very complex in Gitea. IIRC there are I would suggest to think about a more more comprehensive plan and resolve the problem fundamentally. At least, there should be a document about what should be done while what shouldn't. |
Problem was without the Options to fix is either like this PR to fix up all cases of |
The issue with the comment edit form is that it uses I think the better solution is just to remove |
On the other hand, there's just too much stuff that relies on |
Previous solution that re-purposed the 'hide' class by making it !important had various unintended side-effects where jQuery .show() was not able to outweight it. Use a separate class to prevent these interactions. Fixes: go-gitea#20747
Personally I would always avoid I could have the willing to refactor existing code, but I would like to see some agreements and feasible plans first. And, the most important thing is, the bugs caused by the |
I updated the PR now to use the separate class approach. Refactor should be pretty simple in theory, replace all |
* giteaofficial/main: Use separate class for tippy targets (go-gitea#20742) Add support mCaptcha as captcha provider (go-gitea#20458)
Previous solution that re-purposed the 'hide' class by making it `!important` had various unintended side-effects where jQuery .show() was not able to outweight it. Use a separate class to prevent these interactions.
Previous solution that re-purposed the 'hide' class by making it !important had various unintended side-effects where jQuery .show() was not able to outweight it. Use a separate class to prevent these interactions.
Fixes: #20747
Regressed by: #20428