mirror of
https://github.com/owncloud/ocis.git
synced 2026-10-23 23:29:02 +03:00
Scrolling inside an app such as OnlyOffice could make the whole page bounce with it, exposing the blank page background behind the app frame. Set overscroll-behavior-y: none on the root element while AppWrapper is mounted and restore the previous value on unmount. The logic lives in a new useDisableRootOverscroll composable, which is covered by unit tests. Signed-off-by: Lukas Hirt <info@hirt.cz>
web-pkg
web-pkg is a package that provides utilities, most importantly a variety of components and composables, that can be useful when developing apps and extensions for ownCloud Web.
Installation
Depending on your package manager, run one of the following commands:
$ npm install @ownclouders/web-pkg --save-dev
$ pnpm add -D @ownclouders/web-pkg
$ yarn add @ownclouders/web-pkg --dev
It's recommended to install this package as a dev dependency because it's only really needed for providing autocompletion in your IDE and unit tests. In a runtime context, the ownCloud Web runtime provides the actual implementation.