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
113 stars 34 forks source link

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

Closed psmolaga closed 10 months ago

psmolaga commented 10 months 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 10 months ago

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

Aeolun commented 10 months 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 10 months ago

@Aeolun thank you!