Skip to content

Gated the negative available area bug code path#307

Open
scottpeterson wants to merge 2 commits into
mainfrom
issue-306-invalid-height
Open

Gated the negative available area bug code path#307
scottpeterson wants to merge 2 commits into
mainfrom
issue-306-invalid-height

Conversation

@scottpeterson
Copy link
Copy Markdown
Collaborator

@scottpeterson scottpeterson commented May 5, 2026

Fixing Issue #306

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization

Description

Related Issues

  • Related Issue #
  • Closes #

Were the changes tested?

  • Yes, automated tests in please name test methods or files
  • Yes, manually tested: please provide steps performed to test changes
  • No, and this is why: please replace this line with details on why tests
    have not been included
  • I need help with writing tests

@scottpeterson scottpeterson requested a review from dektar May 5, 2026 22:13
@scottpeterson scottpeterson self-assigned this May 5, 2026
@scottpeterson scottpeterson marked this pull request as ready for review May 5, 2026 22:14
int[] loc = new int[2];
binding.filter.getLocationOnScreen(loc);
popup.setHeight(vf.bottom - loc[1] - binding.filter.getHeight());
int available = vf.bottom - loc[1] - binding.filter.getHeight();
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG, although we could have a minimum height so it doesn't end up 1 pixel tall or something. I find it looks pretty short in landscape mode on the small screen.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call, just pushed a commit with a solution.

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