Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: trajano/react-native-draglist
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: fivecar/react-native-draglist
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 14 commits
  • 11 files changed
  • 7 contributors

Commits on Mar 17, 2024

  1. fix: block rapid reordering from using stale indices

    Not sure this is absolutely necessary, but it prevents people from rapidly reordering things so quickly that stale indices are used.
    fivecar committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    3918204 View commit details
    Browse the repository at this point in the history
  2. Merge pull request fivecar#35 from fivecar/serialize_reorder

    fix: block rapid reordering from using stale indices
    fivecar authored Mar 17, 2024
    Configuration menu
    Copy the full SHA
    5782345 View commit details
    Browse the repository at this point in the history
  3. fix: Use measure instead of measureInWindow to get screen coordinate (f…

    …ivecar#32)
    
    On android, when dragging, the item is placed around 50px below the touch point.
    The reason is that: we use the measureInWindow which does not really return screencoordinate.
    ---------
    
    Co-authored-by: golery <golery.team@gmail.com>
    Co-authored-by: Philip Su <39933441+fivecar@users.noreply.github.com>
    3 people authored Mar 17, 2024
    Configuration menu
    Copy the full SHA
    8ff7502 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cfa973c View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. Configuration menu
    Copy the full SHA
    86c90bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7cbd958 View commit details
    Browse the repository at this point in the history
  3. Revert "fix: remove typescript bypass on forwardRef (fivecar#31)" (fi…

    …vecar#37)
    
    This reverts commit cfa973c, which began to cause warnings and issues in React Native (because function components can't take a ref).
    
    We then update how we handle the refs in Typescript so that there are no Typescript errors when you use the component.
    fivecar authored Mar 18, 2024
    Configuration menu
    Copy the full SHA
    1b4e6b1 View commit details
    Browse the repository at this point in the history
  4. Release 3.6.0

    fivecar committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    f124e40 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. fix: Remove old reference to horizontal lists (fivecar#43)

    We now support them.
    fivecar authored Jul 4, 2024
    Configuration menu
    Copy the full SHA
    75df8b6 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. fix: Fix position of item being dragged (fivecar#42)

    This implements the suggested change in fivecar#38 . It fixes the `measure` parameters. An already existing example of the correct parameters can be seen in the const onDragLayout.
    MarkHaakman authored and fivecar committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    ffcd825 View commit details
    Browse the repository at this point in the history
  2. Release 3.6.1

    fivecar committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    9d61472 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2024

  1. fix: fivecar#40 - remove LayoutAnimation related code (fivecar#47)

    React Native docs say Android needs this experimental flag to be on if you use LayoutAnimation, but we don't. It had been causing some crashes, so here's the fix.
    fivecar authored Aug 17, 2024
    Configuration menu
    Copy the full SHA
    9de6d19 View commit details
    Browse the repository at this point in the history
  2. fix: fivecar#45 - adds index to keyExtractor (fivecar#48)

    * add index to keyExtractor
    * update readme
    
    ---------
    
    Co-authored-by: Alice <alice@ritsu.dev>
    fivecar and alicegay authored Aug 17, 2024
    Configuration menu
    Copy the full SHA
    23202d2 View commit details
    Browse the repository at this point in the history
  3. Release 3.6.2

    fivecar committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    4925cdb View commit details
    Browse the repository at this point in the history
Loading