Comments (18)
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
from primereact.
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.
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.
FYI Taking action on console warnings. Thanks for informing
from primereact.
from primereact.
It looks fine here: https://primereact.org/checkbox/
Can you create a reproducer showing the issue?
from primereact.
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.
OK cool so its when you do a production build. What is your stack? NextJS? Vite? CRA?
from primereact.
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.
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.
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.
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.
That makes sense these new changes required theme changes. Everyone on this thread please update your theme.
from primereact.
Hi, in my case, after updating to 10.5.3, no visual bug with checkbox, but I have the warning in the console too.
Just open the StackBlitz of the basic example, open the browser console, and see the warning.
from primereact.
Developing with viteJS and I have the same problem with the last version 10.6.5
from primereact.
@issam-seghir can you put together a StackBlitz showing the issue?
from primereact.
Stackblitz project
Hello. Can you explain what do you mean by "please update your theme". Can you be more specific please? Thank you a lot in advance.
from primereact.
@razcan if you are using a built in theme like Lara Light that comes with PrimeReact then your themes are already built into 10.6.5 and have the fix. If you are using a custom or premium theme like Diamond or Apollo etc you need to follow these instructions.
See: https://github.com/primefaces/primereact/wiki/Migration-Guide-for-Templates
from primereact.
Related Issues (20)
- Calendar: onBlur triggers when clicking a day, but onChange is not triggered HOT 2
- Accordion is completely broken when set unmountOnExit to false HOT 3
- Inputs: InputTextProps type not accept null
- Dropdown: emptyMessage prop doesn't work
- Calendar: Some types in CalendarPassThroughOptions are wrong
- Autocomplete: autoHighlight is not documented HOT 2
- Multiselect: All items at the same index in a group are marked focused
- Tooltip: Escape key not dismissing tooltip (WCAG 2.1 1.4.13) HOT 2
- Reopen: DataTable: rowReorder not displaying "ghost" row when dragging HOT 2
- Scrollpanel: pt barX is gets overwritten when mouse enters scrollpanel
- DataTable: Tabulation is not working propertly. Also editorCallback does not reflect the new value in some cases. HOT 17
- DataTable: Resize columns on touch device HOT 1
- Autocomplete : Unstyled | Tailwind | Loading spinner out of the container HOT 3
- Sidebar: Missing closeButton prop in SidebarPassThroughMethodOptions
- Cannot set full widht of Password compoent when toggleMask is enabled HOT 2
- Doc say DataTable editMode default is "cell" but its Null HOT 3
- colorpicker: Color picker popup not closing on escape button click in some specific scenarios
- DataTable filterDisplay lose focus: DataTable filterDisplay="menu" modal lose onFocus status as soon as you type something
- MeterGroup: CustomRenderProps don't work
- Datatable: Unstyled mode doesn't work with radiobutton
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from primereact.