react-native-modalize icon indicating copy to clipboard operation
react-native-modalize copied to clipboard

Multiple snap points

Open levani opened this issue 5 years ago • 6 comments
trafficstars

Is it possible to set multiple snap points for the component? Instead of passing a single value in snapPoint I need to specify at least two snap points. I thought it would better if there is a support for snapPoints prop which will be an array of snap points, like this:

<Modalize snapPoints={[700, 400]}>...your content</Modalize>

levani avatar May 21 '20 11:05 levani

Hi,

Yeah that would be best. Either defining a number or an array or number to avoid breaking changes or simply using an array all the time. It requires a bit of work but shouldn't be too complicated.

Feel free to open a PR if you have time to do that before I can jump on that.

jeremybarbet avatar May 25 '20 09:05 jeremybarbet

+1, would really love this feature in the future!

asp3 avatar Jul 28 '20 04:07 asp3

@jeremybarbet Any updates on this feature? Would love to use this!

pouyarezvani avatar Jul 22 '21 23:07 pouyarezvani

@levani @asp3 Commenting back to see if there was any update on this feature request? @jeremybarbet Would be super awesome if there is any progression on this?

pouyarezvani avatar Jul 30 '21 21:07 pouyarezvani

+1

Marcuspo avatar Feb 24 '22 14:02 Marcuspo

+1

ronenempathy avatar Oct 30 '23 10:10 ronenempathy