jariarkko / psgeo

Activity location library
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Filter pane breaks when window size changes #300

Closed ralfstrandell closed 1 year ago

ralfstrandell commented 1 year ago

A window size increase (or zoom out) or decrease (change in psgeoSmallDisplayMode) can render some checkboxes inoperational. This is a problem because we need to have one control in two different places.

ralfstrandell commented 1 year ago

Solved by making changes in the resize event listener set in psgeoFinishLoading. document.getElementById() and element.insertBefore() were used. Also in frequent use: style.display=block|float|none