Odd blue borders and textbox in handsontable

Tags: #<Tag:0x00007efc609d9230>

I have a very basic handsontable in my component in React.

<HotTable
    settings={{ licenseKey: 'non-commercial-and-evaluation' }}
    data={this.state.rawData}
    colHeaders={false}
    rowHeaders={false}
    readOnly={true}
    width="600"
    height="300"
/>

When I click on the top left cell, i see very odd blue borders as follows. We could see that it is related to wtBorder .

Does anyone know what’s wrong here? I tried to create a codesandbox, but in the snippet I could not reproduce the problem.

PS: additionally, there is a textbox generated at the bottom of the page, when we write text inside, it impacts cell values. It is strange as well.

I @chengtie

Do you have any other components on the site beside the table? Or maybe there are some CSS code that affects the table itself?

Without the demo we won’t be able to check the problem.

I see that the same question was asked on the Stack Overflow and I agree that the issue may lay in the CSS, or even a lack of the Handsontable CSS import in your project.

@chengtie have you used the

@import 'handsontable/dist/handsontable.full.css';

in the main CSS file in the project?

1 Like

Yes, we just need to add the css file. Thank you.

I’m glad to hear that it works well now.

If you would have any further questions or needed guidance please feel free to open a new ticket or send me an email at support@handsontable.com