neoneye / ARC-Interactive

Enjoy puzzle-solving directly in your browser.
https://neoneye.github.io/arc/
MIT License
18 stars 2 forks source link

Editor with grid enabled: top titles of overview page are not visible, possible clipped. Desktop browsers. #19

Closed neoneye closed 8 months ago

neoneye commented 8 months ago

Problem

Open this url in a desktop browser: Chrome, Edge, Firefox, Safari. https://neoneye.github.io/arc/edit.html?dataset=arc-dataset-diva&task=landport_cw_86_42_75_11

When grid is disabled, the <tr> with id task-overview-table-row0 is shown correct. It shows: 1 2 3 1.

When grid is enabled, the <tr> with id task-overview-table-row0 is not shown. It is supposed to show: 1 2 3 1. I guess it's overflowing.

Screenshot 2024-01-30 at 18 57 04

It seems like calcCellSize() isn't computing a proper cell size that can fit within the visible viewport.

Solution

Debugging, tweaking.

neoneye commented 8 months ago

fixed