andypf / json-viewer

MIT License
21 stars 0 forks source link

showDetails toolbar button can be in wrong state after initialization #5

Closed Toutouwai closed 2 months ago

Toutouwai commented 3 months ago

It seems that the showDetails button is always in the active state by default, even when json-viewer is initialized with show-data-types="false" and show-size="false". In that scenario the button then requires two clicks before it has the expected toggling effect.

jv

andypf commented 2 months ago

Thank you for reporting this issue. I will check it and work on a fix.