-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Fix Content-Types and Content-Parts search UI #16237
Conversation
I see the Enter issue, but not the Esc one. On 2024-06-05_01h35_45.mp4This is exactly what I'd expect to happen. What behavior is this fixing for Esc? |
I don't think there was an issue with escape actually. There is a deprecated warning. But the enter is definitely a problem. I updated the description. Let me know if you see an issue with the current PR. |
I'll review it soon. |
I still get a 404 on Enter: 2024-06-05_23h20_16.mp4 |
I am guessing you need to do a deep refresh CTRL + F5. It works with no issues for me (just tried it out again). Look at the video in the description to see how it works for me. |
I did that. With the DevTools open the cache is disabled anyway. |
Can you please check the generated HTML? ensure that the old script is removed and the |
Now it works, WTF. Anyway, I'll continue with the code review. |
Before this, if you click enter in the text box you'll get a 404. Also, the
keyCode
property on the JavaScript is deprecated.Also, now we no longer need jQuery for this to work. And the logic is reusable.
Here is a quick demo of the UI behavior for both content-types and content-parts UI.