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

[BUG] Dropdown height issue on small screen devices in modal #3736

Open
1 of 9 tasks
NillerW opened this issue Dec 10, 2024 · 0 comments
Open
1 of 9 tasks

[BUG] Dropdown height issue on small screen devices in modal #3736

NillerW opened this issue Dec 10, 2024 · 0 comments
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

Comments

@NillerW
Copy link
Collaborator

NillerW commented Dec 10, 2024

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 the kirby-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

  1. Create a component that opens a kirby-modal
  2. The component in the modal should implement kirby-page-content and inside it have a kirby-dropdown
  3. Add [userPopover]="true" to kirby-dropdown
  4. Simulate a small screen height and observe the dropdown's content being cut-off by the windows border.

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

image

Please complete the following information:

  • OS: MacOS
  • Browser: Chrome
  • Browser version: 130.0.6723.69

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.

  • Make sure the 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:

@NillerW NillerW added bug NOT Prioritized Issue not yet prioritized and added to a Milestone 👶🏻 New For new issues before prioritisation and refinement NOT Verified Applied to bug reports that have not been verified by a member of @kirbydesign/kirby-guild labels Dec 10, 2024
@github-project-automation github-project-automation bot moved this to 💌 Inbox in Kirby Dec 10, 2024
@alxzak alxzak changed the title [BUG] [BUG] Dropdown height issue on small screen devices in modal Dec 11, 2024
@alxzak alxzak moved this from 💌 Inbox to 📙 Backlog in Kirby Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
Status: 📙 Backlog
Development

No branches or pull requests

1 participant