Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
client/collections/board: fix an issue
Adorian Doran74156257d38b
diff --git a/apps/client/src/widgets/collections/board/index.css b/apps/client/src/widgets/collections/board/index.cssindex bd9a06cce3..7a40f297d6 100644--- a/apps/client/src/widgets/collections/board/index.css+++ b/apps/client/src/widgets/collections/board/index.css@@ -451,12 +451,18 @@ body.mobile .board-view-container .board-add-column {touch-action: none;}-/* Reaching the end of the board or of a column scrolls neither the page nor anything else. */-.board-view-container,-.board-view-container .board-column-content {+/* Reaching the end of the board scrolls neither the page nor anything else. */+.board-view-container {overscroll-behavior: contain;}+/* A column contains only what it can scroll itself. `contain` on both axes would also hold a+ sideways swipe that starts on a card, which the column cannot scroll and the board can: Chrome+ stops it at the column instead of passing it on, and the board never moves. */+.board-view-container .board-column-content {+ overscroll-behavior-y: contain;+}+/* And while something is carried, the end does not spring back either: the copy is positionedagainst the window, which an overscroll moves on WebKit, taking the copy with it. */.board-view-container.board-dragging,