day8 / re-com

A ClojureScript library of reusable components for Reagent
https://re-com.day8.com.au
MIT License
796 stars 147 forks source link

problem with simple-v-table? #294

Closed johbra closed 2 years ago

johbra commented 2 years ago

Discussed in https://github.com/day8/re-com/discussions/293

Originally posted by **johbra** July 6, 2021 Hi, trying the smallest possible table (one column, one row) `[simple-v-table :model (reagent/atom [{:id 0}]) :columns [{:id :id :header-label "Id" :row-label-fn :id :width 70 :height 35}]]` I get the following error message: `react_devtools_backend.js:2560 Your project is missing detect-element-resize.js or detect-element-resize-externs.js could not setup v-table. See https://re-com.day8.com.au/#/v-table requirements at cmp (http://localhost:9500/cljs-out/dep/reagent/impl/component.js:517:54) at div at cmp (http://localhost:9500/cljs-out/dep/reagent/impl/component.js:517:54) at cmp (http://localhost:9500/cljs-out/dep/reagent/impl/component.js:517:54) at cmp (http://localhost:9500/cljs-out/dep/reagent/impl/component.js:517:54) at cmp (http://localhost:9500/cljs-out/dep/reagent/impl/component.js:517:54) at div at cmp (http://localhost:9500/cljs-out/dep/reagent/impl/component.js:517:54) at div at cmp (http://localhost:9500/cljs-out/dep/reagent/impl/component.js:517:54) at div at cmp (http://localhost:9500/cljs-out/dep/reagent/impl/component.js:517:54) at div at cmp (http://localhost:9500/cljs-out/dep/reagent/impl/component.js:517:54) at div at cmp (http://localhost:9500/cljs-out/dep/reagent/impl/component.js:517:54)` I cannot figure out, what is going wrong. Trying the demo in simple_v_table_sales.cljs I see the same error message. Any hints? Johannes