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

[BUG] longer navbar when open modal #28090

Closed
BlackYuzia opened this issue Jan 18, 2019 · 5 comments
Closed

[BUG] longer navbar when open modal #28090

BlackYuzia opened this issue Jan 18, 2019 · 5 comments

Comments

@BlackYuzia
Copy link

BlackYuzia commented Jan 18, 2019

About PC

  • Operating system and version: Windows 7
  • Browser and version: Chrome 71.0.3578.98 (x64)

Info

What I use when trap on it - https://pastebin.com/CCYbaU1n

About Bug

I create a Nav-Bar.
Next, I create a Modal (window).
Next, I add class sticky-top to Nav-Bar.
Next, I open a Modal, and get some ... fail? (check screenshot №2)

I try remove class sticky-top, and without this class I don't have this bug.

Screenshoots

Normal state:
image
After open modal window:
image

@CrazyHackGUT
Copy link

Can confirm.
Windows 7 (build 7601), Firefox 64.0.2

@BlackYuzia BlackYuzia changed the title [BUG] longer navbar when open [BUG] longer navbar when open modal Jan 18, 2019
@Johann-S
Copy link
Member

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via CodePen/JS Bin or Stackblitz and report back with your link, Bootstrap version, and specific browser and OS details.

This is an automated reply

@ysds
Copy link
Member

ysds commented Jan 22, 2019

Duplicate of #27071

@SharakPL
Copy link

The problem + the fix: https://codepen.io/SharakPL/pen/OdRayP but the real fix would be to leave padding and margin untouched and position with right property

@XhmikosR
Copy link
Member

XhmikosR commented Feb 6, 2019

Closing as duplicate of #27071

@XhmikosR XhmikosR closed this as completed Feb 6, 2019
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

6 participants