Skip to content

fix: resolve availability grid click offset caused by stale timeslot dimensions#246

Merged
jonyTF merged 1 commit intoschej-it:mainfrom
maxwellward:fix/offset-availability-selection
Apr 14, 2026
Merged

fix: resolve availability grid click offset caused by stale timeslot dimensions#246
jonyTF merged 1 commit intoschej-it:mainfrom
maxwellward:fix/offset-availability-selection

Conversation

@maxwellward
Copy link
Copy Markdown
Contributor

@maxwellward maxwellward commented Apr 14, 2026

The timeslot dimensions were not being updated when the ads loaded or changed their container size. This fixes that by making the touch/click events relative to the element aiming to be clicked, along with adding a resize observer that watches for the container to change size

Related #243

@jonyTF jonyTF merged commit 310d207 into schej-it:main Apr 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants