My resizable div code looks like this:
#box {
height: 10rem;
width: 10rem;
resize: both;
overflow: hidden;
border: solid black 0.5rem;
position: absolute;
pointer-events: none;
}
<div id="item"></div>
While it works perfectly in Brave, I'm facing an issue with resizing in Firefox,
I've identified the culprit as position:absolute
, but removing it breaks resizing in Brave as well.
How can I maintain pointer-events:none
for Firefox resizing?
An ideal solution would be purely CSS-based, but a JavaScript workaround is also acceptable.