Keep dropdown on the bottom and avoid the weird interaction
See original GitHub issueI’m submitting a … (check one with “x”)
[ ] bug report => search github for a similar issue or PR before submitting
[x ] support request/question
Notice: feature requests will be ignored, submit a PR if you'd like
Current behavior I have a component that uses the tag input component with a dropdown and does the interaction of the gif. https://gyazo.com/eb1f2e7e897e2a3c6745830f0b0a0a8d
The problem is that some options hide on the top and cannot be selected by click.
Expected behavior There is some way to keep the dropdown on the bot of de tag-input? I searched a solution and i found that maybe using [appendToBody]=“false”, but i’ve tried and don’t worked.
Minimal reproduction of the problem with instructions (if applicable)
What do you use to build your app?. Please specify the version angular-cli: 1.5.0
Angular version: 4.4.6
ngx-chips version: 1.5.3
Browser: Chrome Versión 62.0.3202.94
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Force Bootstrap dropdown menu to always display at the ...
This will always force the dropdown to be below the button, even if the button is at the bottom of the screen.
Read more >Line-by-line: advanced CSS tricks for click-to-open drop-down ...
To make the box open when the top content is clicked, you need to add the dropdown class to the combobox , and...
Read more >Dropdown Menus with More Forgiving Mouse Movement Paths
So the trick is to try and prevent any of those events from happening too easily. Widen up the corridors, as it were....
Read more >Cannot interact with dropdown within Bootstrap modal #600
In my project, when I clicked on the dropdown, the textbox would not get focus. When I clicked the box again, the cursor...
Read more >How to avoid dropdown menu to close menu items on clicking ...
stopPropagation(): The stopPropagation() method is used to stop propagation of event calling i.e. the parent event is called we can stop the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I Finally got it sorted. I had to add the custom css to my global styles and not in the component that was using the control.
.ng2-dropdown-menu { height: 200px !important }
Hope this helps
Check out the option [dynamicUpdate] in version 1.7.5