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

VirtualScroller: Unstyled mode is removing needed classes for core functionality #4348

Closed
afk-cob opened this issue Aug 29, 2023 · 0 comments
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@afk-cob
Copy link

afk-cob commented Aug 29, 2023

Describe the bug

Unstyled mode is removing needed classes for core functionality. Directly in component and in global config.

Reproducer

https://codesandbox.io/s/primevue-demo-forked-64ngdd?file=/src/main.js

PrimeVue version

3.32.2

Vue version

3.x

Language

ES6

Build / Runtime

Vite

Browser(s)

Chrome

Steps to reproduce the behavior

  1. In main.js - app.use(PrimeVue, { unstyled: false, pt: Tailwind });
  2. Copy/paste demo from VirtualScroller example on Primevue.org to some test component
  3. On first lack of overflow-auto, component is breaking when scroll is at the bottom
  4. Check console and inspect element - all classes needed for core functionality are removed
  5. Need to add classses manually from example on Primevue, after that component works again

Expected behavior

Unstyled mode not removing core classes, only styled ones

@afk-cob afk-cob added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 29, 2023
@mertsincan mertsincan added this to the 3.32.3 milestone Aug 29, 2023
@mertsincan mertsincan added Status: Pending Review Issue or pull request is being reviewed by Core Team Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Status: Pending Review Issue or pull request is being reviewed by Core Team labels Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants