question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Select: Uneven padding in Chrome 83

See original GitHub issue

OS: Mac OS X Catalina Chrome 83 (Chrome 81 in BrowserStack)

The padding on the select form control looks really asymmetrical. Specifically, the dropdown arrow is butting up against the right side of the component, whereas there’s a decent amount of padding on the left side. This is Chrome 83. Looking at Chrome 81 (via browserstack), the select menu has a different drop arrow. Though the right-side padding is marginally, if at all, greater in 81, the left padding is much greater in 83, giving a very jarring asymmetrical look.

This is almost certainly related to the updated form control UI in Chrome 83.

You can see it in the example in the Bootstrap docs.

I’ve uploaded screenshots to imgur. This should be reproducible in browserstack.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
patrickhlaukecommented, Jun 19, 2020

The black outline is likely due to the recent improvements to Chrome’s focus ring https://blog.chromium.org/2020/03/updates-to-form-controls-and-focus.html - and yes, I believe currently it can’t be overridden via CSS (though focus indication can be modified for form controls themselves…just not the actual select’s dropdown which is pretty much under the sole control of the browser and offers little to no styling hooks) [edit: ah i see the thread starter already mentioned the UI changes in Ch83 … sorry for restating the obvious]

2reactions
mdocommented, Jun 16, 2020

Will have to look to see what we can do for v4 since we only have custom forms in v5.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is Firefox 83 adding visibly noticeable padding by default ...
But it ultimately baffles me as to why there is now a default padding: 2px 4px 2px 4px setting for <select> list <option>...
Read more >
Archived release notes - Chrome Enterprise and Education Help
Archived release notes. Note: For information about the current Chrome versions and targeted releases, see Chrome Enterprise release notes.
Read more >
Chrome 83 arrives with redesigned security settings, third ...
Google Chrome 83 brings redesigned safety and privacy settings, third-party cookies blocked in Incognito mode, and more developer features.
Read more >
:has(): the family selector - Chrome Developers
Select the layout container with an odd number of children ... This CSS would make a featured card the full width of the...
Read more >
page - CSS: Cascading Style Sheets - MDN Web Docs
... @page :left { margin-top: 4in; } /* Targets all odd-numbered pages */ @page :right { size: 11in; margin-top: 4in; } ... Chrome...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found