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

Fix 652 - Bootstrap 4 dropdown-menu use 'show' instead of 'open' #4241

Merged
merged 1 commit into from Sep 20, 2018

Conversation

adube
Copy link
Contributor

@adube adube commented Sep 17, 2018

Fixes the issue that occurs in the filter "rule component", i.e. when selecting an attribute in the filter tool, the dropdown menu was not opened. Clicking on the drop-down list did show the menu, but in the background we had a broken state.

Cause: in Bootstrap 4, the class show has to be used on the element with the css class dropdown-menu, see (inspect the drop down menu when opened, you'll see the "show" css class name":

https://www.w3schools.com/bootstrap4/tryit.asp?filename=trybs_dropdown-menu&stacked=h

In Bootstrap 3, this was different. The css class open had to be set on the element with the dropdown css class.

Copy link
Member

@julsbreakdown julsbreakdown left a comment

Choose a reason for hiding this comment

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

LGTM, i will let @arnaud-morvan approve =)

@adube adube requested a review from sbrunner September 18, 2018 13:00
@adube adube force-pushed the V2_4-652-fix-filter-criterias branch 2 times, most recently from 0f5ef9a to d5e0b1e Compare September 18, 2018 15:37
@adube adube force-pushed the V2_4-652-fix-filter-criterias branch from d5e0b1e to 5b06d8e Compare September 19, 2018 12:16
@adube
Copy link
Contributor Author

adube commented Sep 19, 2018

@arnaud-morvan Ready for review.

@adube adube requested a review from fredj September 19, 2018 14:55
@adube
Copy link
Contributor Author

adube commented Sep 19, 2018

@fredj Would you please take care of the review? This is a very small one.

@adube adube force-pushed the V2_4-652-fix-filter-criterias branch from 5b06d8e to d3f4058 Compare September 19, 2018 14:57
@adube
Copy link
Contributor Author

adube commented Sep 19, 2018

Rebase onto master.

Copy link
Member

@fredj fredj left a comment

Choose a reason for hiding this comment

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

Looks good, thanks

@fredj fredj merged commit 453c721 into camptocamp:master Sep 20, 2018
@adube adube deleted the V2_4-652-fix-filter-criterias branch September 20, 2018 11:42
@sbrunner sbrunner added this to the 2.4 milestone Oct 30, 2018
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

4 participants