serenity icon indicating copy to clipboard operation
serenity copied to clipboard

Ladybird: drop down UI for <select> is in the wrong screen location

Open ojhunt opened this issue 1 year ago • 1 comments

The drop down for a <select> is placed in the wrong location, as the degree of wrongness seems proportional to the position of the element in the page. That seems to imply the position of the drop down is computed relative to the view, but specified relative to the element, but that's just supposition :D

<!doctype HTML>
<html>
    <body>
      <div style="width: 200px; height: 200px;"></div>
      <select>
          <option>bad</option>
      </select>
    </body>
</html>

ojhunt avatar Feb 08 '24 07:02 ojhunt

You are right, when using the AppKit chrome with high dpi the select dropdown position is wrong. I will fix this in the near future

bplaat avatar Feb 08 '24 12:02 bplaat