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

Position relative for autocomplete inside arrays table #1551

Merged

Conversation

germanbisurgi
Copy link
Collaborator

Q A
Is bugfix? ✔️
Is backward-compatible? ✔️
Tests pass? ✔️
Fixed issues #1512

@@ -1,3 +1,7 @@
.table-responsive .autocomplete-result-list {
position: relative !important;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was there no other way than using !important?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because the positioning is added dynamically with JavaScript when the list is displayed like this style=position: absolute; ...".

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this is from the autocomplete plugin?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct

@germanbisurgi germanbisurgi merged commit 01e94c7 into json-editor:master Apr 22, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants