Closed mantegnous closed 2 years ago
the button read more/read less is not present
Hi @mantegnous can you please mention the react native version ? Also please share the code snippet and screenshot ? Just to be sure everything is okay in the code. Thanks for pointing this out.
the button read more/read less is not present
Hi @mantegnous can you please mention the react native version ? Also please share the code snippet and screenshot ? Just to be sure everything is okay in the code. Thanks for pointing this out.
"react-native": "^0.65.1",
I have update for use my app ith ios 15 and android 12, but, after this, the buttone is missed and the text is cutted
<ReadMore numberOfLines={3} style={styles.regular} seeMoreText={'Read more'} seeLessStyle={styles.readMore} seeMoreStyle={styles.readMore} seeLessText={'Read less'}> {children} </ReadMore>
children is a string that render my text as always
The issue is: line state is always 0 , cannot read the length of the text, something must have changed in native events
@fawaz-ahmed any news?
@fawaz-ahmed any news?
@mantegnous I'm checking now. Will update in an hour or so.
@mantegnous I was able to reproduce the issue and also identify the cause. The fix will be rolled out in next hour
@fawaz-ahmed i have updated at last version, but the bug persist, i dont see the buttons to see more or see less, my text is cutted. version react nativie: 0.65.1
@mantegnous I tested with rn version 0.66.1
. Few things to check:
1 Version for this package should be 2.2.0
. Make sure to check in package-lock.json
file or yarn.lock
file. If not remove package and re-install
2 Run the example in this project (see README.md), tell me if this works fine or not ?
3_ Share a screenshot of what you are seeing ? it might be some other issue related to styling!
@fawaz-ahmed i tried with your example, and without any styles, but i see the text cutted, no label to collpse or extend, i'm in 2.2.0, with react native 0.65.1,
@fawaz-ahmed in 0.66.1 work correctly, so.. the problem is below 0.66.1
@mantegnous in that case I would recommend you to upgrade your rn version to 0.66.1.
Also I'm attaching screenshots of my example for reference
iOS collapsed
iOS expanded
android collapsed
android expanded
@fawaz-ahmed ok i have updated my app, thanks for fix in 0.66.1 !
the button read more/read less is not present