[BUG] Dropdown height issue on small screen devices in modal #3736
Labels
bug
👶🏻 New
For new issues before prioritisation and refinement
NOT Prioritized
Issue not yet prioritized and added to a Milestone
NOT Verified
Applied to bug reports that have not been verified by a member of @kirbydesign/kirby-guild
Describe the bug
kirby-dropdown's content is not calculating height of content correctly, when displayed in a
kirby-modal
while applying the usePopover attribute on thekirby-dropdown
component. This leads to the content of the dropdown potentially being cut-off for being off-screen, leading to last element(s) not being selectable.Describe how to reproduce the bug
kirby-modal
kirby-page-content
and inside it have akirby-dropdown
[userPopover]="true"
tokirby-dropdown
Which Kirby version was used?
10.1.3
What was the expected behavior?
Content of dropdown adjusts its height to display all items within the windows display.
Add any screenshots
Please complete the following information:
Are there any additional context?
Reproduced on above mentioned specs. Also an issue on smaller tablets and phones when in landscape mode.
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Verification
To make sure the bug is not intended behaviour; it should be verified by a member of team Kirby before moving on to implementation.
NOT verified
label has been removed by a member of team Kirby; do not proceed until this is done.Implementation
The contributor who wants to implement this issue should:
Review
Once the issue has been implemented and is ready for review:
The text was updated successfully, but these errors were encountered: