reagent

p-himik 2024-12-01T17:47:23.123199Z

TIL that you should prune style maps from nil values. Debugging why overflow is not set when you have large map with

{...
 :overflow   "auto"
 :overflow-x nil
 :overflow-y nil
 ...}
was not fun.

😮 1
liebs 2024-12-01T17:53:59.310449Z

This is more of a CSS problem than a Clojure one, no? But your point is well taken.

p-himik 2024-12-01T18:18:43.676229Z

Probably more how React implements styles set to nil and how browsers treat it, since CSS has no concept of nil values.