Skip to content
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

Default search bar text persistence issues #11618

Open
CWDamm-Kint opened this issue Nov 12, 2024 · 6 comments
Open

Default search bar text persistence issues #11618

CWDamm-Kint opened this issue Nov 12, 2024 · 6 comments

Comments

@CWDamm-Kint
Copy link
Collaborator

When you copy and paste something into the search bar, then try to click on the search bar, the text you've pasted disappears.

Disappearing.search.text.mp4
@CWDamm-Kint
Copy link
Collaborator Author

Tested in 7.6 and 8.0.x

@CWDamm-Kint
Copy link
Collaborator Author

The search bar actually clears when you click anywhere, not just back in the search bar

Disappearing.search.text.2.mp4

@CWDamm-Kint CWDamm-Kint changed the title Search text disappears when you click on search bar Default search bar text persistence issues Nov 26, 2024
@CWDamm-Kint
Copy link
Collaborator Author

Seems to be an issue with the Select2 dropdown. Some relevant discussion about possible workarounds here: select2/select2#3902

@chiatt
Copy link
Member

chiatt commented Jan 9, 2025

I think this is a regression that occurred with changes to this component in 7.6.0, so it makes sense to target 7.6 with a fix.

@SDScandrettKint
Copy link
Member

@chiatt we've noticed it in 7.5.x too, as we first found it in AfHER. Good to know it should be targeted at 7.6.x and not 8.0.0.

@SDScandrettKint
Copy link
Member

SDScandrettKint commented Jan 15, 2025

Just to add something else to this issue that seems related, it's not possible to right click the search bar and paste (doesn't show up in the options) after a search filter has been applied. The only way to paste is using Ctrl + V.

Weirdly, this is only the case when a filter is applied. With no filters, right clicking shows the copy and paste options.

Search_bar_pasting.mp4

Tested on Firefox and Chrome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

3 participants