Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Dropdown jumps to the upper right corner if screen is too small #414

Closed
asigmund opened this issue Oct 3, 2016 · 4 comments
Closed

Dropdown jumps to the upper right corner if screen is too small #414

asigmund opened this issue Oct 3, 2016 · 4 comments
Assignees
Labels

Comments

@asigmund
Copy link

asigmund commented Oct 3, 2016

The dropdown jumps to the upper right corner if the screen gets to small. You can reproduse the issue with the demo example. See the picture below.

image

@andikrueger
Copy link
Member

This is an OfficeUiFabric Issue: OfficeDev/office-ui-fabric-core#552

@andrewconnell
Copy link
Member

As @andikrueger says, unfortunately, this isn't something we can fix. It's a CSS bug from Office UI Fabric. They fixed it in v3, but they didn't go back and fix it in v2.6.2. Since v3 is really a fork with a TON of other CSS changes to support MDL2, and because we get the CSS from their library, we can't just upgrade out dependency to their latest version in this iteration. We aren't currently shipping a CSS file, just the JS library.

I've left a comment to see if they'll consider it, but I wouldn't expect they will address it.

If you want to address this for your implementation, suggest adding your own CSS to patch their CSS after loading their CSS file. Here's the commit that fixed it: OfficeDev/office-ui-fabric-core@3bf4cd9

@andrewconnell
Copy link
Member

Whoa... stop the presses!

Looks like the Fabric guys are going to fix this for us. Reopening this issue to track: OfficeDev/office-ui-fabric-js#261

Once they close it I'll close this issue out. Still listed as wontfix because we aren't the ones fixing though.

@andrewconnell
Copy link
Member

Closing the loop on this... this has been fixed upstream in Fabric 2.6.3. Will update our dependency to 2.6.3 once it reaches the CDN.

See this for reference: OfficeDev/office-ui-fabric-js#261 (comment)

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

No branches or pull requests

3 participants