Tampere / vuorovaikutusalusta

Vuorovaikutusalusta is GIS based feedback query tool
MIT License
1 stars 3 forks source link

Feature/responsive matrix question #124

Closed mmoila closed 1 year ago

mmoila commented 1 year ago

ResizeObserver is used to track changes in component sizes. Table with radio buttons (radioRef) is rendered by default. When window or sidepane size is changed and the default components starts to overflow the alternative component (selectRef) with drop downs is rendered. Hard limit of 430px is also used to render a more mobile friendly variant of the alternative component.

Closes #101