-
-
Notifications
You must be signed in to change notification settings - Fork 337
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dropdown): columnar dropdowns on raw divs
When a dropdown was created out of prepared divs, the column menus were not working. That's because the previous approach was using display:inline-block which breaks when the sourcecode contains linebreaks. (Which a well formatted HTML source always has) It was working when a select tag was converted, but only because the generated HTML did not contain any whitespace This PR now switches to flexbox for column menus which does not care about linebreaks :) As the transition does block by default we had to teach dropdown to use flex when column menus are used
- Loading branch information
Showing
2 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters