josdejong/svelte-jsoneditor

Table mode: columns resizing due to flex display

Open

#421 opened on Mar 28, 2024

View on GitHub
 (11 comments) (0 reactions) (0 assignees)TypeScript (149 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (1,237 stars)
PR merge metrics
 (PR metrics pending)

Description

During table mode, I've noticed if the amount of data in a column varies a lot in size, the table columns will resize as you scroll up/down making it difficult to follow the table and contents.

I've hacked this with .jse-modal-contents{ display: block !important; } which works, but it causes an error in development:

ResizeObserver loop completed with undelivered notifications.
    at handleError (webpack-internal:///./node_modules/webpack-dev-server/client/overlay.js:252:58)
    at eval (webpack-internal:///./node_modules/webpack-dev-server/client/overlay.js:271:7)

I would appreciate any pointers to best resolve this!

Contributor guide