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.

Default button causing `plain` on TextInput, Select, etc. doesn't allow keyboard visual indication of active suggestion/option

See original GitHub issue

Expected Behavior

When default button is defined in theme and user uses keyboard to move through textinput suggestions, select options, etc., the hover styling should still be applied.

Actual Behavior

No styling is being applied because the button is marked as plain, so there’s no indication of which suggestion or select option is active. This only is an issue when default button is defined on theme.

These changes are rooted in this PR: https://github.com/grommet/grommet/pull/4131 However, this PR is solving some issues we were facing such as unwanted padding, bold font, etc. but it is the reason that the keyboard styling is not visible.

URL, screen shot, or Codepen exhibiting the issue

Current implementation with grommet-theme-hpe-next. I am using keyboard to navigate but can’t get the visual indication of which option i’m on: plain

With plain removed (however, this causes unwanted implications of extra padding, bold font, etc.), but the necessary visual indication of keyboard navigation returns: notplain

Steps to Reproduce

See the above gifs

Your Environment

  • Grommet version: stable
  • Browser Name and version: chrome
  • Operating System and version (desktop or mobile): macos

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
ericsoderberghpcommented, Jun 8, 2020

agreed

0reactions
ShimiSuncommented, Jun 10, 2020

Fixed on #4163

Read more comments on GitHub >

github_iconTop Results From Across the Web

Button can't be clicked while keyboard is visible - react native
I have an textInput and a button. While the textInput is focused, the keyboard comes up but if you tap the button with...
Read more >
Using Enter to Search with input - Power Platform Community
Hi All, I've recently created a PowerApp which will allow a User to input a number and selecting the search button will cause...
Read more >
Automate Desktop and Automate Plus/Ultimate - Fortra
The File System (Split file) activity now allows an Automate variable to be added if the "Individual file piece size" parameter is set...
Read more >
Window-Eyes 8.4 Manual - GW Micro
These are the screen, keyboard, and mouse voices. The screen voice is heard whenever activity occurs on the screen. For example, a dialog...
Read more >
Bug: Prompt for User Input: `OK` button is not blue
Problem Description: Prompt for User Input action's default OK button doesn't display as the blue default button color.
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