Skip to content

fix: reposition on screen out-of-bounds #16

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

Merged
merged 4 commits into from
Feb 26, 2024
Merged

fix: reposition on screen out-of-bounds #16

merged 4 commits into from
Feb 26, 2024

Conversation

buehler
Copy link
Collaborator

@buehler buehler commented Feb 26, 2024

This adds an example app to run the widget locally.
Further, check after the layout run, if the size of the
widget would be outside the screen. If it is, reposition
the match the screen. Also, if the content is wider/taller
than the screen, it maxes to 0 on the respective sides.

Copy link

github-actions bot commented Feb 26, 2024

LCOV of commit 9fb00e8 during Test Package #25

Summary coverage rate:
  lines......: 95.9% (258 of 269 lines)
  functions..: no data found
  branches...: no data found

Files changed coverage rate:
                                               |Lines       |Functions  |Branches    
  Filename                                     |Rate     Num|Rate    Num|Rate     Num
  ===================================================================================
  lib/src/generic_dropdown.dart                |97.0%    264|    -     0|    -      0

@nschaer92 nschaer92 merged commit 3b76e90 into main Feb 26, 2024
@nschaer92 nschaer92 deleted the fix/outofbounds branch February 26, 2024 16:38
buehler pushed a commit that referenced this pull request Feb 26, 2024
## [2.0.1](v2.0.0...v2.0.1) (2024-02-26)

### Bug Fixes

* reposition on screen out-of-bounds ([#16](#16)) ([3b76e90](3b76e90))
@buehler
Copy link
Collaborator Author

buehler commented Feb 26, 2024

🎉 This PR is included in version 2.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants