fomantic / Fomantic-UI-Docs

Official Documentation for Fomantic-UI
https://fomantic-ui.com
28 stars 85 forks source link

fix(form): fix dropdown width inside fields inside form field #323

Closed lubber-de closed 2 years ago

lubber-de commented 2 years ago

Description

On a 100% OS scale (and 2k resolution) a dropdown menu inside afields which itself is inside a field container is sometimes displayd wrong by 1px . This is because the browser tries to calculate a 100% width for the menu out of its parent containers.

If you have an OS scale of browser zoom or > 100% the issue is not happening....

Testcase

if you compare to the country dropdown, which is only inside a normal field the issue is not happening, so this is a special case for the given example only

Screenshot

Before

image

After

image