Skip to content

[slider] Next.js script tag error on slider thumb #4373

Description

@Entropy-10

Bug report

When using Silder.Track Nextjs v16.2 throws the following error:

Encountered a script tag while rendering React component. Scripts inside React components are never executed when rendering on the client.

Current behavior

Silder.Track throws script error when used in Next.js projects

Expected behavior

Silder.Track should render with no errors

Base UI version

For example v1.3.0

Which browser are you using?

Vivaldi v7.8.3925.81
Chromium v144.0.7559.246

Which OS are you using?

Linux - cachyos 6.19.8-1-cachyos

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: sliderChanges related to the slider component.has workaroundThere’s a bug, but users have a complete workaround, so no urgent fix or release is needed.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions