Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@blocksuite/affine-widget-scroll-anchoring

Package Overview
Dependencies
Maintainers
0
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blocksuite/affine-widget-scroll-anchoring - npm Package Compare versions

Comparing version 0.0.0-canary-20240923001408 to 0.0.0-canary-20240924001354

10

CHANGELOG.md
# @blocksuite/affine-widget-scroll-anchoring
## 0.0.0-canary-20240923001408
## 0.0.0-canary-20240924001354

@@ -9,6 +9,6 @@ ### Patch Changes

- Updated dependencies
- @blocksuite/affine-model@0.0.0-canary-20240923001408
- @blocksuite/affine-shared@0.0.0-canary-20240923001408
- @blocksuite/block-std@0.0.0-canary-20240923001408
- @blocksuite/global@0.0.0-canary-20240923001408
- @blocksuite/affine-model@0.0.0-canary-20240924001354
- @blocksuite/affine-shared@0.0.0-canary-20240924001354
- @blocksuite/block-std@0.0.0-canary-20240924001354
- @blocksuite/global@0.0.0-canary-20240924001354

@@ -15,0 +15,0 @@ ## 0.17.14

@@ -122,5 +122,9 @@ import { HighlightSelection } from '@blocksuite/affine-shared/selection';

}
blockComponent.scrollIntoView({
behavior: 'instant',
block: 'center',
// use `requestAnimationFrame` to better scroll to the target
// because sometimes it is impossible to scroll to the target
requestAnimationFrame(() => {
blockComponent.scrollIntoView({
behavior: 'instant',
block: 'center',
});
});

@@ -127,0 +131,0 @@ this.#listened = false;

{
"name": "@blocksuite/affine-widget-scroll-anchoring",
"version": "0.0.0-canary-20240923001408",
"version": "0.0.0-canary-20240924001354",
"description": "Affine scroll anchoring widget.",

@@ -22,6 +22,6 @@ "type": "module",

"dependencies": {
"@blocksuite/affine-model": "0.0.0-canary-20240923001408",
"@blocksuite/affine-shared": "0.0.0-canary-20240923001408",
"@blocksuite/block-std": "0.0.0-canary-20240923001408",
"@blocksuite/global": "0.0.0-canary-20240923001408",
"@blocksuite/affine-model": "0.0.0-canary-20240924001354",
"@blocksuite/affine-shared": "0.0.0-canary-20240924001354",
"@blocksuite/block-std": "0.0.0-canary-20240924001354",
"@blocksuite/global": "0.0.0-canary-20240924001354",
"@preact/signals-core": "^1.8.0",

@@ -28,0 +28,0 @@ "@toeverything/theme": "^1.0.8",

@@ -166,5 +166,9 @@ import type { DocMode } from '@blocksuite/affine-model';

blockComponent.scrollIntoView({
behavior: 'instant',
block: 'center',
// use `requestAnimationFrame` to better scroll to the target
// because sometimes it is impossible to scroll to the target
requestAnimationFrame(() => {
blockComponent.scrollIntoView({
behavior: 'instant',
block: 'center',
});
});

@@ -171,0 +175,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc