fix(core): legacy app navigation snapper width on RTL

After ec9e283e there was still such a problem with the legacy app navigation
snapper that its width was only 266 px on the RTL layout instead of the
normal 300 px. The 266 px is the default width of Snap.js module. While the
left side snapper width is configured with the property maxPosition, the right
side snapper is configured by passing a negative value for the property
minPosition.

Signed-off-by: Pauli Järvinen <pauli.jarvinen@gmail.com>
This commit is contained in:
Pauli Järvinen 2025-11-13 22:13:02 +02:00 committed by Ferdinand Thiessen
parent b6d9364f54
commit 47f9407127

View file

@ -125,6 +125,7 @@ export function initCore() {
element: document.getElementById('app-content'),
disable: SNAPPER_CLOSE,
maxPosition: 300, // $navigation-width
minPosition: -300, // $navigation-width for RTL
minDragDistance: 100,
})