Giter Club home page Giter Club logo

Comments (15)

muhammetvrl avatar muhammetvrl commented on May 29, 2024 5

Greetings.

We're having the same problem. We don't get this problem in local and stackblitz but in production this problem is present everywhere. We have this problem with all the following components

Checkbox
Switch
TreeSelect
RadioButton

image

image

from primereact.

muhammetvrl avatar muhammetvrl commented on May 29, 2024 4

We are developing with Next js. Version 10.5.3 seems to have a problem. 10.5.1 did not have this problem

from primereact.

Raabye avatar Raabye commented on May 29, 2024 4

Developing with viteJS, no issues with the checkbox in 10.5.1., but after updating to 10.5.3 I got the same visual bug and the "checked/defaultChecked"-props error.

The visual bug got fixed for me when updating the theme files(primereact-sass-theme) to 10.5.3

from primereact.

nitrogenous avatar nitrogenous commented on May 29, 2024 2

FYI Taking action on console warnings. Thanks for informing

from primereact.

melloware avatar melloware commented on May 29, 2024

It looks fine here: https://primereact.org/checkbox/

Can you create a reproducer showing the issue?

from primereact.

github-actions avatar github-actions commented on May 29, 2024

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

from primereact.

melloware avatar melloware commented on May 29, 2024

OK cool so its when you do a production build. What is your stack? NextJS? Vite? CRA?

from primereact.

nitrogenous avatar nitrogenous commented on May 29, 2024

We have just updated our component structure and while we were testing everything was looking perfectly fine. I am looking into it and will get back to you shortly

from primereact.

nitrogenous avatar nitrogenous commented on May 29, 2024

Can you share more specific details about the issue? We couldn't be able to reproduce it inhouse.
Tried on:

  • Vite
  • Next
  • Blitz

from primereact.

github-actions avatar github-actions commented on May 29, 2024

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

from primereact.

melloware avatar melloware commented on May 29, 2024

And if it doesn't happen on stack blitz can you zip up a small reproducer that shows the issue if we build in production mode?

from primereact.

melloware avatar melloware commented on May 29, 2024

That makes sense these new changes required theme changes. Everyone on this thread please update your theme.

from primereact.

kyybo avatar kyybo commented on May 29, 2024

Hi, in my case, after updating to 10.5.3, no visual bug with checkbox, but I have the warning in the console too.
image

Just open the StackBlitz of the basic example, open the browser console, and see the warning.
image

from primereact.

issam-seghir avatar issam-seghir commented on May 29, 2024

Developing with viteJS and I have the same problem with the last version 10.6.5

from primereact.

melloware avatar melloware commented on May 29, 2024

@issam-seghir can you put together a StackBlitz showing the issue?

from primereact.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.