editor-js / table

Table constructor for Editor.js
MIT License
128 stars 139 forks source link

"+" addColumn / addRow buttons doesn't work #149

Open Aarbel opened 6 months ago

Aarbel commented 6 months ago

hi editorjs team,

Looks like in some contexts (fixed popups), just the "+" buttons doesn't work.

How can we solve that ?

We tried to set a "holder" wrapper unique id for editorJS, but that doesn't solve the problem.

Thanks a lot for your help !

Cf https://github.com/editor-js/table/blob/2948cd7595e632f7555e2dc09e6bac050a2b87ea/src/table.js#L102

https://github.com/editor-js/table/assets/25119847/010fedfa-c832-4547-81b2-b20a38f30220

Sozialarchiv commented 3 months ago

I tested it with the demo on editorjs.io and a local version. I can not reproduce the issue (Firefox 128).

@Aarbel Can you reproduce the behaviour with the demo on https://editorjs.io/? What browser are you using?

Aarbel commented 3 months ago

@Sozialarchiv i think it happens when editor js is displayed inside an element that is itself in position: fixed or position: absolute