Support Article
Scrollbar does not display when textarea is disabled
SA-75503
Summary
On disabling the textarea, unable to scroll the textarea.
Error Messages
Not Applicable
Steps to Reproduce
- Create a section with a textarea that is set to 'Disabled always' and scrollbar is set to true.
- Create a work object.
- Set the property value to scroll (several lines).
- Scroll the textarea.
Root Cause
When the textarea is disabled, the disabled CSS style (pointer-events: none;) prevented scrolling. [disabled]:not(.dv-icon),
:disabled {
pointer-events: none;
cursor: not-allowed;
}
Resolution
Perform the following local-change:
- Save the py-enduser71-workarea-overrides.css to the application ruleset
- Add the below code snippet after the line of code '[disabled]:not(.dv-icon),:disabled' class.
textarea.textAreaStyle:disabled{
pointer-events: auto;
cursor: auto!important;
}
Published March 19, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.