Skip to content

Commit

Permalink
Merge pull request #510 from appearhere/pg-2654-space-listing-carouse…
Browse files Browse the repository at this point in the history
…l-loading-images-after-clicking-next-image-not-before

[PG-2654] 🚀 Run `onCarouselChange` callback `beforeSlide` not after
  • Loading branch information
svobom57 authored Feb 3, 2020
2 parents 37b55bb + 397a648 commit ae12339
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class DestinationListingCard extends React.Component<Props, State> {
wrapAround
swiping={false}
dragging={false}
afterSlide={onCarouselChange}
beforeSlide={onCarouselChange}
withoutControls
>
{images.map(({ src, ...imageProps }) => (
Expand Down

1 comment on commit ae12339

@vercel
Copy link

@vercel vercel bot commented on ae12339 Feb 3, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.