Avoid negative offset when positioning #2031

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@emilianbold

This fixes issue #1904.

I have a large-ish OverlayPanel that constantly gets negative values for top but would be usable with this patch (and the user would have to scroll a little bit the page).

Of course, with the negative value the panel is entirely unusable as the close button is not accessible.

@cagataycivici

This comment has been minimized.

Show comment
Hide comment
@cagataycivici

cagataycivici Mar 8, 2017

Member

I've changed it a bit by trying to fit it if top is less than 0.

Member

cagataycivici commented Mar 8, 2017

I've changed it a bit by trying to fit it if top is less than 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment