636
Views
8
Comments
Enabling Scroll Bar in a disabled TextArea or Input Box
Question

Hi,


     I have Textarea and as read only. I noticed scroll bar is also disabled along with it. I want to scroll and read the content. Is there any way to enable the scroll bar in a disabled Text Area. Please let me know


Thanks

Sankari

Rank: #9513

Sankareswari Muthiah wrote:

Hi,


     I have Textarea and as read only. I noticed scroll bar is also disabled along with it. I want to scroll and read the content. Is there any way to enable the scroll bar in a disabled Text Area. Please let me know


Thanks

Sankari

Hi,

I think you need to know the readonly property by javasrcript or jQuery.

See next exemple: https://jsfiddle.net/Chouchen/x9RJu/

Joao Branco



Fixed this by using Expression within a container instead of Input Box. Thanks

Rank: #1353

Adding a class to the extended properties of the input box with 

.unblockScroll {  
    cursor: default !important;
    pointer-events: all !important;
}

will serve as a workaround to keep using the input box and it's enabled property and avoid screen logic.