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.

focus on text area

See original GitHub issue

c/p from @alansouzati

The focus outline is showing if I click in the textinput
IMHO the focus outline should only show if you are using the tab

if I use grommet 2.3.1 this problem goes away
so for sure was something that changed from 2.3.1 to 2.4.0

https://codesandbox.io/s/github/grommet/grommet-sandbox?initialpath=textinput&module=%2Fsrc%2FTextInput.js

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
alansouzaticommented, Mar 19, 2019

Take this for example: https://codesandbox.io/s/rrjz94lj7m

If you open the filter on the left and start selecting things, you will see the outline. this is a regression.

The outline is very distracting and I feel we should only show this if we are using the keyboard.

0reactions
MikeWalrathcommented, Mar 8, 2019

Closing. Please feel free to re-open if further discussion is needed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML textarea autofocus Attribute
The autofocus attribute is a boolean attribute. When present, it specifies that the text area should automatically get focus when the page loads....
Read more >
In Javascript setting a textarea with focus() does not work if ...
I have a simple test page that sets the focus to a textarea on an oninit function. However the exact code fails to...
Read more >
Javascript Form How to - Set focus to the TextArea
Question. We would like to know how to set focus to the TextArea. Answer. <!- ...
Read more >
HTML | <textarea> autofocus Attribute
The HTML <textarea> autofocus Attribute is used to specify that the textarea field should get automatically focus when the page loads.
Read more >
focus
Any element (most commonly <input> s and <textarea> s) are in “focus” when they are selected and ready to enter text (like when...
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