-
Notifications
You must be signed in to change notification settings - Fork 95
fix the size of the popper element #3445
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
Conversation
Signed-off-by: Simon L <[email protected]>
|
/backport to stable7 |
|
Is there no way for the popper element to automatically detect out-of-bound window ? Also, if you add 10 links and open the last menu, isn't the issue going to be the same? |
Honestly, I don't know.
I can test this case but I think it should work correctly. |
@skjnldsv shall I test it? |
|
I think the 50vh approach might also not work well if the header is larger (e.g. with a preview). Maybe we can change the popper positioning strategy so that the popover is not limited to the tab area but may also span over the full window height and be positioned to the left of the button? |
Might not work in a generic way, so maybe that is something that needs rather some fine tuning in the sharing sidebar implementation. |
No, that is no problem as it will overlap the preview header then. Let me test this out as well... |
|
@skjnldsv @juliushaertl both edge cases seem to work: |
|
@skjnldsv @juliushaertl can you approve? :) |
|
One additional review needed :) |
PVince81
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 nice
|
/backport to stable7 |
|
The backport to stable7 failed. Please do this backport manually. |
|
/backport to stable7 |
|
The backport to stable7 failed. Please do this backport manually. |

Fix nextcloud/server#33839
Signed-off-by: Simon L [email protected]