-
Notifications
You must be signed in to change notification settings - Fork 14
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
nav-dropdown doesn't work with nav-right #2
Comments
Thanks for reporting. I'll try to fix that asap, and will release a hotfix when it's ready. |
Fixed the issue, release v1.2.4 as a hotfix. Will be available on CDNJS in a couple of minutes. |
Oh! It started working. Thanks for quick response. |
@Borderliner |
@sushiljainam You mean when the dropdown goes out of the screen? Sending a screenshot would be great. |
yes, you got it. ".. dropdown goes out of the screen..". inform me, If it can be fixed at your end. thanks! |
@sushiljainam Please verify that the below code fixes the issue. Put it somewhere in your custom css file:
It works on the jsfiddle you gave, verify it in your own project. What it really does, is that it sets the |
@Borderliner Yes, It's working fine. :) thanks. |
It's fine for my case. but check this:
where: last nav menu is having more characters "configuration/settings" in this example. |
I know, there's nothing I can do logically. CSS is not that smart to detect which elements are out of the screen. In such cases, one needs to set the |
yeah.. we can close it now. or you closed it by mistake? |
The actual fix would be to use JavaScript to calculate the width and position of dropdown-content. But since Meshki tries to be as simple as possible while being useful and stable, I'm not gonna add more JavaScript code, unless it's necessary. This CSS workaround will be enough for most cases. I reopened this issue because I thought JS fix could be another option, but I changed my mind. I will close this issue after the release. |
yes! don't add that JS. css is enough for 'most cases'. |
Fix released: https://github.com/Borderliner/Meshki/releases/tag/v1.2.5 |
inside nav-fixed:
I wanted to show a nav-dropdown on the right side.
but hovering on it does not display -- list items.
actually, they are displayed, but behind..
Solve it please.
The text was updated successfully, but these errors were encountered: