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

Font menu opens above font button with many fonts in list #382

Closed
MRB60 opened this issue May 26, 2020 · 3 comments
Closed

Font menu opens above font button with many fonts in list #382

MRB60 opened this issue May 26, 2020 · 3 comments

Comments

@MRB60
Copy link

MRB60 commented May 26, 2020

Just a minor issue;
With many items (12-20) in font list, menu shows above font button where I have no possibility to scroll and would prefer all menus to open up below their buttons.
It seem to be dependent on viewport size.
I open Suneditor in a full page modal and cannot scroll up.

@MRB60
Copy link
Author

MRB60 commented May 26, 2020

A comment to my own issue:
Adding !important to: .sun-editor .se-list-layer, top attribute solves my issue.

.sun-editor .se-list-layer {
    ...
    top: 37px!important;
}

I can thus fix the issue myself with css. Issue can be closed.

@JiHong88 JiHong88 added the bug label May 27, 2020
@JiHong88 JiHong88 added this to the 2.30.0 milestone May 27, 2020
@JiHong88
Copy link
Owner

Thank you for your feedback.
I'll modify it to adjust the length and position of the menu according to the size of the screen and menu.

@JiHong88
Copy link
Owner

JiHong88 commented Jun 9, 2020

The 2.30.0 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.

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

No branches or pull requests

2 participants