Open TahimiLeonBravo opened 5 years ago
Hi @yvmunayev You can go inside this issue :)
Hi! Could you please tell me how to reproduce this issue? I would like to contribute
Hi! Could you please tell me how to reproduce this issue? I would like to contribute
Great!! You are welcome
@MarcosVillacanas you can show more details here
Currently, only happen on "Safari" and "Chrome" on IOS
The checkmark on the Table header is empty
Thank you for the answer, I'm taking the issue :) I will let you know as soon as possible if I find any trouble
Thank you for the answer, I'm taking the issue :) I will let you know as soon as possible if I find any trouble
Great!!!
Unfortunately, I am not able to keep working on this issue because I don't have all the required tools to deal with it. But I would like to share what I found out to help anyone interested in solving this.
-You don't need just an iPhone, you also need a Mac or iMac if you want to have the iOS web development tools, associated with xCode.
-The example Tahimi illustrated above can be found here: https://github.com/nexxtway/react-rainbow/blob/master/src/components/Table/readme.md, It is the fifth table.
-At the time the table is created, here: https://github.com/nexxtway/react-rainbow/blob/master/src/components/Table/index.js, there is a parameter set to the Table, called bulkSelection, which stores the value which triggers the bugged checkbox. This bulkSelection variable is set by default to none.
-The Table calls Head component: https://github.com/nexxtway/react-rainbow/blob/master/src/components/Table/head/index.js, which uses Header: https://github.com/nexxtway/react-rainbow/blob/master/src/components/Table/head/header.js, and finally selectableHeader: https://github.com/nexxtway/react-rainbow/blob/master/src/components/Table/head/selectableHeader.js .
-bulkSelection var is passed to the constructor of each component, until selectableHeader, when finally depending on how many rows are selected, is turned to true, indeterminate, or false: -> const bulkStateMap = { all: true, some: 'indeterminate', none: false }; These three values represent the possible options of the checkbox (checked, unchecked or marked with a -)
I hope this helps. :)
I'll check this issue to see how can I solve it if there's no problem.
Actual Result
Table
header is not renderedPlatform and Operating System: