taataa / tapspace

Zoomable user interface library for web apps.
https://taataa.github.io/tapspace/
MIT License
58 stars 8 forks source link

support adaptive full height viewport controls #181

Open axelpale opened 4 months ago

axelpale commented 4 months ago

Consider a viewport control that acts as a sidebar.

Currently Viewport reacts to 'resize' event that originates from ResizeCapturer. Upon resize, Viewport calls ViewportControls:adapt that maintains the relative positions of existing viewport controls.

A sidebar control has full height. This height does not adapt to viewport size change.

Possible solutions: