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.

Adds cursor: pointer; to all inputs

See original GitHub issue

I’m seeing an inline style cursor: pointer; added to input elements (along with touch-action: manipulation; -ms-touch-action: manipulation;), which isn’t desirable as it breaks convention for fields that accept user input.

I’m pretty sure the source of this inline style is ember-toggle and this seems like a bug.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:48 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
lolmauscommented, Jan 16, 2018

We’re using this as a workaround until https://github.com/html-next/ember-hammertime/issues/31 is resolved and included into ember-gestures:

input[type="text"], textarea {
  cursor: text !important;
}
0reactions
knownasilyacommented, Dec 22, 2018

@adambedford give master a try. I’ve removed hammertime and it seems to have done the trick. cc @rwwagner90

If it works for you, then I’ll publish a release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

html - Change cursor type on input type="file" - Stack Overflow
It works for input buttons by setting the cursor for input[type=button] . And yes, for others than input[type=file] , it works with setting...
Read more >
cursor - CSS: Cascading Style Sheets - MDN Web Docs
The cursor CSS property sets the mouse cursor, if any, to show when the mouse pointer is over an element.
Read more >
cursor - CSS-Tricks
The cursor property in CSS controls what the mouse cursor will look like when it is located over the element in which this...
Read more >
HTML DOM Style cursor Property - W3Schools
Definition and Usage. The cursor property sets or returns the type of cursor to display for the mouse pointer. Browser Support. Property.
Read more >
Move the Cursor to the End of an Input field using JS
Add a click event listener to a button element. · Every time the button is clicked, call the setSelectionRange() method on the input...
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