Skip to content

Initialization of components added from AJAX call #4387

Discussion options

You must be logged in to vote

Sorry, I have been barking up the wrong tree. The problem is solved, even though I don't quite understand why it occurred. The search input field has :focus styling in CSS, including expanded width. The li that couldn't be clicked is in a "dropdown" menu below the search input field. On click the search input field loses focus and :focus styling, shrinking back to original width. The dropdown is anchored to the search input field, so it moves horizontally and this seems to be what screws up the click event. Since this is also rather ugly I changed the CSS so the search input field is fixed in size and now it works.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by NilsWeinander-KulturIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants