question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

snapPoints with Percent values

See original GitHub issue

Whenever I try to use the a percent value for snapPoints I get the following error. TypeError: TypeError: BottomSheetBehavior.renumber is not a function. (In 'BottomSheetBehavior.renumber(s)', 'BottomSheetBehavior.renumber' is undefined)

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:12
  • Comments:6

github_iconTop GitHub Comments

2reactions
Kladislavcommented, Apr 9, 2020

pass it as strings like [‘100%’, ‘50%’, ‘25%’]

0reactions
L-U-C-K-Ycommented, Aug 27, 2020

Do you have the snapPoints in descending order?

Note: Array values must be in descending order.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Snap Points
See Snap Point Values, below. When using the Percent or Distance interval, you have two further options: •Start from Endpoint: the Snap point...
Read more >
scroll-snap-points-x - CSS: Cascading Style Sheets | MDN
Percentages refer to the width of the container. Formal definition. Initial value, none. Applies to, scroll containers.
Read more >
Snap Point Variants Enhancements - YouTube
Related Help Center article: Snap Points - http://helpcenter.graphisoft.com/?p=46056http://www.graphisoft.com/archicad/This video clip ...
Read more >
Using Snap Counts to Identify Fantasy Football Values
Studying snap counts and percentage of snaps played is one of the easiest ways that we can determine one of the most basic,...
Read more >
Displaying counts and percentage figures on a bar chart
This specifies where the counts and percentage figures will be placed. Check Value and Percent under the Datapoint Label. This will display the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found