when calling select() on an input element it only works for the first time, clicking somewhere else and calling select() again does not work unless you change the text on the element.
incorrect behavior on Ladybird Ubuntu:
correct behavior on google chrome:
HTML code:
<script>
let mySelect = () => {
let foo = document.getElementById("foo");
foo.select();
}
</script>
<input type="text" id="foo"/>
<button style="padding: 15px" id="button" onclick="mySelect()">Select</button>
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too