neodb-social / neodb

🧩 NeoDB is a self-hosted server tracking what you read/watch/listen/play, powering a global distributed community federating via ActivityPub.
https://neodb.net
GNU Affero General Public License v3.0
470 stars 32 forks source link

[BUG] Horizontal scroll button control error in the user homepage layout's "show more content" functionality #768

Closed shuncleopasfang closed 5 days ago

shuncleopasfang commented 2 weeks ago

Describe the bug User homepage calendar section's horizontal scroll button incorrectly triggers content expansion in adjacent module.

To Reproduce

  1. Go to user homepage
  2. Locate the calendar section and its adjacent section below
  3. Notice that the calendar content doesn't fill the entire section layout
  4. Click the horizontal scroll button in the calendar section
  5. Observe that the adjacent section below (e.g., "Books Read" module) is affected by the calendar section's horizontal scroll action

Expected behavior

  1. The horizontal scroll button in the calendar section should only control its own section's content
  2. Adjacent sections should not be affected by other sections' scroll controls
  3. Each section's scroll functionality should operate independently

Screenshots https://github.com/user-attachments/assets/f9ac0b2a-b7d1-4df0-98fe-99acb6f905d7

Desktop

Additional context

  1. The bug exclusively impacts the section immediately adjacent to the calendar module when the calendar has unfilled layout space. Other modules with unfilled layout areas (e.g., the "Currently Watching Movies" module demonstrated in the above Screenshots) are not affected by this behavior
  2. Further sections beyond the adjacent one are not affected by this scroll control error
alphatownsman commented 5 days ago

thanks for reporting. fixed in #770