JaredReisinger / react-crossword

A flexible, responsive, and easy-to-use crossword component for React apps.
https://react-crossword.jaredreisinger.com
MIT License
168 stars 80 forks source link

The crossword Input not staying within the crossword cell. #568

Open lalitx17 opened 1 month ago

lalitx17 commented 1 month ago

crossword bad behaviour When the size of the CrosswordGrid changes, the crossword input size doesn't stay within the crossword cell and in some condition goes out of the crossword grid altogether.

Here is the code that generated the above output image:

        {started && <div className="mx-auto w-4/5 flex flex-row gap-x-10">

          <CrosswordProvider data={crosswordData} >
          <DirectionClues  direction="across" />
          <CrosswordGrid />
            <DirectionClues direction="down" />
            </CrosswordProvider>
            {/* <Crossword data={crosswordData} /> */}
        </div>}