Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll functionality not working as expected #2819

Closed
lyjeileen opened this issue Oct 31, 2024 · 2 comments
Closed

Scroll functionality not working as expected #2819

lyjeileen opened this issue Oct 31, 2024 · 2 comments

Comments

@lyjeileen
Copy link

lyjeileen commented Oct 31, 2024

Bug Report

Steps to Reproduce:

  1. Git clone the sample project
  2. Run npm i and npm run local
  3. Open http://localhost:3000
  4. Click the Navigate to a Different Page button to go to the next page.
  5. Attempt to scroll within the table on this new page.

I'm using react instead of pure javascript.

Expected Result:

The table should scroll smoothly, allowing you to access all data within the table.
Nov-12-2024 09-09-31

Actual Result:

The scroll bar moves, but the table data itself does not move as expected when scrolling.
This error is shown in the console:

perspective-viewer.inline.js:7 Uncaught (in promise) x
    at n.wbg.__wbg_new_09b5236f2fcfe2c2 (webpack://rustic-ui/./node_modules/@finos/perspective-viewer/dist/esm/perspective-viewer.inline.js?:7:20655)
    at wasm://wasm/0095a752:wasm-function[1719]:0x1016ff
    at wasm://wasm/0095a752:wasm-function[452]:0x75f49
    at wasm://wasm/0095a752:wasm-function[583]:0x97e77
    at wasm://wasm/0095a752:wasm-function[759]:0xb4b67
    at wasm://wasm/0095a752:wasm-function[5807]:0x185028
    at Oe (webpack://rustic-ui/./node_modules/@finos/perspective-viewer/dist/esm/perspective-viewer.inline.js?:7:1144)
    at s (webpack://rustic-ui/./node_modules/@finos/perspective-viewer/dist/esm/perspective-viewer.inline.js?:7:258)

actual

Environment:

@finos/perspective version: 3.1.2
browser and version: Google Chrome Version 130.0.6723.70
OS: macOS Sonoma version 14.5

@lyjeileen lyjeileen changed the title Scrolling Issue in Webpack Project Scroll functionality not working as expected Nov 12, 2024
@texodus
Copy link
Member

texodus commented Nov 27, 2024

You have a two issues:

@texodus texodus closed this as completed Nov 27, 2024
@lyjeileen
Copy link
Author

@texodus Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants