diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index c52152ccb..86364cda1 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -3,30 +3,34 @@ name: 🐛 Bug Report about: Create a reproducible bug report --- -Thanks for taking the time for writing this bug report. +Thanks for reporting a bug for DayPicker. Please provide here a brief description of the issue you’ve encountered. -## Code -Please include the code required to reproduce the bug. +## To reproduce + +Please reproduce the bug by forking [this codesandbox](https://codesandbox.io/p/sandbox/m2j7fr). Add your code there and share the URL. Otherwise copy-paste it below. + +If you’re unable to easily reproduce this bug, consider opening a [support thread](https://github.com/gpbl/react-day-picker/discussions) to discuss it further. ```tsx import { DayPicker } from "react-day-picker"; +import "react-day-picker/style.css"; -export function Start() { - return ( - - ); +export default function App() { + return ; } ``` -## Expected Behavior - -Describe what you expect to happen. +CodeSandbox: https://codesandbox.io/p/sandbox/SANDBOX_ID ## Actual Behavior Describe what is actually happening. +## Expected Behavior + +Describe what you expect to happen. + ## Screenshots -If applicable, add screenshots or GIFs to help explain your problem. +If relevant, include screenshots or GIFs to illustrate the bug.