You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently only one component can be created by an application because store objects (e.g., $columns) are module-scoped variables (singletons).
First, each <Kanban> component needs it own store. This can be fixed with Svelte contexts. Another benefit of this change is that the memory related to a board will be released when it is no longer visible. This will be done in #60.
Call getElementId using the new value describe in 2 above
Column.svelte creates elements with ids like title-column{index_col} .. this is a good time to fix the spelling error for input-colum{index_col} (the n is missing). The board id should be added to these ids.
Scan the code for other instances of id="
The text was updated successfully, but these errors were encountered:
Currently only one component can be created by an application because store objects (e.g., $columns) are module-scoped variables (singletons).
First, each
<Kanban>
component needs it own store. This can be fixed with Svelte contexts. Another benefit of this change is that the memory related to a board will be released when it is no longer visible. This will be done in #60.Secondly, when one page contains two boards arranged vertically, dragging a card in the lower Kanban board causes a card in the upper board to move. Example: https://github.com/V-Py/svelte-kanban/assets/12297328/0d0e751b-4f34-4a65-83b8-36499aeef950
Changes Needed (beyond #60)
getElementsByClassName
withgetElementById
using Cards' new id properties as described in Assign unique ids to boards, columns, and cards #61card-A-col-B
toboard-A-card-B-col-C
using the board's id as described in Assign unique ids to boards, columns, and cards #61getElementId
using the new value describe in 2 abovetitle-column{index_col}
.. this is a good time to fix the spelling error forinput-colum{index_col}
(the n is missing). The board id should be added to these ids.id="
The text was updated successfully, but these errors were encountered: