Aeolun / react-diff-viewer-continued

A simple and beautiful text diff viewer component made with Diff and React.
https://aeolun.github.io/react-diff-viewer-continued/
MIT License
135 stars 39 forks source link

Setting extraLinesSurroundingDiff to 0 hides the top skipped lines indicator #29

Closed psmolaga closed 1 year ago

psmolaga commented 1 year ago

Hi Guys,

I have observed that setting extraLinesSurroundingDiff props to 0 hides the top skipped lines indicator.

Reproduction: https://stackblitz.com/edit/stackblitz-starters-wsteyt?file=src%2FApp.tsx

Aeolun commented 1 year ago

Thanks for reporting that. I’ll have a look.

Aeolun commented 1 year ago

:tada: This issue has been resolved in version 3.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

psmolaga commented 1 year ago

@Aeolun thank you!