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

TreeSelect: Dropdown hide when scroll #7739

Closed
ibodev1 opened this issue Feb 27, 2025 · 4 comments
Closed

TreeSelect: Dropdown hide when scroll #7739

ibodev1 opened this issue Feb 27, 2025 · 4 comments
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@ibodev1
Copy link

ibodev1 commented Feb 27, 2025

Describe the bug

 <PrimeReactProvider
        value={{
          // unstyled: true,
          // pt: Tailwind,
          ptOptions: {
            mergeSections: true,
            mergeProps: true,
            classNameMergeFunction: cn,
          },
          ripple: true,
          locale: getCurrentLanguage(),
          cssTransition: true,
          hideOverlaysOnDocumentScrolling: false,
        }}
      >
        <InnerApp />
      </PrimeReactProvider>

I don't want it to hide when the document scrolls when my treeselect component is open. I said hideOverlaysOnDocumentScrolling = false but it still didn't work. I don't want it to hide when the document scrolls in all dropdown components or in the components we specifically specify.

Reproducer

No response

System Information

System:
    OS: Windows 11 10.0.26100
    CPU: (12) x64 AMD Ryzen 5 5625U with Radeon Graphics
    Memory: 2.60 GB / 15.31 GB
  Binaries:
    Node: 22.12.0 - C:\Program Files\nodejs\node.EXE
    npm: 11.0.0 - ~\node_modules\.bin\npm.CMD
    pnpm: 9.6.0 - ~\AppData\Local\pnpm\pnpm.EXE
  Browsers:
    Edge: Chromium (133.0.3065.69)
    Internet Explorer: 11.0.26100.1882
    Brave
  npmPackages:
    primereact: ^10.9.1 => 10.9.1
    react: ^18.3.1 => 18.3.1
    tailwindcss: ^3.4.17 => 3.4.17

Steps to reproduce the behavior

No response

Expected behavior

No response

@ibodev1 ibodev1 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 27, 2025
@melloware melloware added Status: Needs Reproducer Issue needs a runnable reproducer and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Feb 27, 2025
Copy link

Please fork the Stackblitz project and create a case demonstrating your bug report. This issue will be closed if no activities in 20 days.

@melloware
Copy link
Member

@ibodev1 also did you test 10.9.2? See this fix from 10.9.2: #7566

@ibodev1
Copy link
Author

ibodev1 commented Feb 27, 2025

@melloware it worked thanks !

@ibodev1 ibodev1 closed this as completed Feb 27, 2025
@melloware
Copy link
Member

Thanks for testing!

@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Reproducer Issue needs a runnable reproducer labels Feb 27, 2025
@melloware melloware added this to the 10.9.2 milestone Feb 27, 2025
@melloware melloware self-assigned this Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

2 participants