Allow events in read only TextArea ()

Fix default filtering strategy to correctly allow events for text area elements when is set to read only.
pull/120/head
Sebastian Kreft committed by 小弟调调™
parent a76a1011b9
commit 08368e075d

@ -34,7 +34,6 @@ function filter(event) {
// ignore: isContentEditable === 'true', <input> and <textarea> when readOnly state is false, <select>
if (
target.isContentEditable ||
tagName === 'TEXTAREA' ||
((tagName === 'INPUT' || tagName === 'TEXTAREA') && !target.readOnly)
) {
flag = false;

Loading…
Cancel
Save