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.

[form] `pointer-events: none` should be removed

See original GitHub issue

Bug Report

pointer-events: none CSS rule for disabled form fields is preventing any mouse operations with the disabled field like:

  • select and copy field text
  • resize textarea (using drag of the bottom-right corner)

demo: https://dev.agiletoolkit.org/demos/form-control/input2.php

The pointer-events: none CSS rule should be removed.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
lubber-decommented, Nov 2, 2022

I prepared #2538 so you could set the value to ‘auto’ instead of ‘none’ if desired via a variable

0reactions
mvorisekcommented, Nov 2, 2022

The whole idea around atk4/ui framework is everything is in PHP, tests and even the frontend 😃

so if tests can be run via PHP, I can recommend https://github.com/Behat/Behat, but any testing software with webdriver support should work

I should also mention Istanbul - https://github.com/istanbuljs/nyc - it can collect JS coverage from real webdriver testing, adding it to the CI is quite simple - https://github.com/atk4/ui/pull/1891/files, here is an example output https://app.codecov.io/gh/atk4/ui/blob/develop/js/src/services/modal.service.js

Read more comments on GitHub >

github_iconTop Results From Across the Web

pointer-events - CSS: Cascading Style Sheets - MDN Web Docs
The pointer-events CSS property sets under what circumstances (if any) a particular graphic element can become the target of pointer events.
Read more >
Removing pointer-events : none property . Not working
What I'm trying is to check if it's right or left click and if it's right it click on the canvas and it's...
Read more >
Don't put pointer-events: none on form labels - Bruce Lawson
So don't disable pointer events on forms””and, while you're at it, Stop using Material Design text fields!
Read more >
Pointer events & disabled form elements · Issue #177 - GitHub
This disabled behavior is a source of some bugs in Chromium. I'd like to remove it if possible.
Read more >
There's no reason to use pointer-events for HTML elements
The most popular use case I have come across for the pointer-events: none rule is to stop users from interacting with disabled elements,...
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