Search code examples
blueprintjs

Blueprintjs Table hide overflow-s scrollbar


Is it possible to hide table scrollbar ?

In my particulary case i need to set overflow-y: hidden

I found html tag that set's overflow option, and maybe can override it's overflow, but it will take multiple div > div > div in css selector witch i think is not the right way.

Update

For now i done this using css:

div.table-no-overflow > div > div > div.bp-table-body {
    overflow-y: hidden;
}

Solution

  • You are correct: custom CSS is the preferred way to change things like this. However, you should be able to write a simpler selector rather than tracing the exact DOM structure. It should be as simple as:

    .bp-table-body {
        overflow-y: hidden;
    }