GithubHelp home page GithubHelp logo

oelshocht / react-table-scrollbar Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 8.0 2.15 MB

React fixed table header position and auto scrollbar

License: MIT License

JavaScript 100.00%
react table fixed-header fixed-header-table auto-scrollbar

react-table-scrollbar's People

Contributors

dependabot[bot] avatar oelshocht avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react-table-scrollbar's Issues

Sorting stops working

After wrapping the table component with TableScrollBar, sorting stops working. Kindly resolve this.

TypeError: Failed to execute 'removeChild' on 'Node': parameter 1 is not of type 'Node'.

Error
TypeError: Failed to execute 'removeChild' on 'Node': parameter 1 is not of type 'Node'.
Uncaught TypeError: Failed to execute 'removeChild' on 'Node': parameter 1 is not of type 'Node'.
at t.value (index.js:1)
at t.value (index.js:1)
at commitLifeCycles (react-dom.development.js:19814)
at commitLayoutEffects (react-dom.development.js:22803)
at HTMLUnknownElement.callCallback (react-dom.development.js:188)
at Object.invokeGuardedCallbackDev (react-dom.development.js:237)
at invokeGuardedCallback (react-dom.development.js:292)
at commitRootImpl (react-dom.development.js:22541)
at unstable_runWithPriority (scheduler.development.js:653)
at runWithPriority$1 (react-dom.development.js:11039)
at commitRoot (react-dom.development.js:22381)
at finishSyncRender (react-dom.development.js:21807)
at performSyncWorkOnRoot (react-dom.development.js:21793)
at react-dom.development.js:11089
at unstable_runWithPriority (scheduler.development.js:653)
at runWithPriority$1 (react-dom.development.js:11039)
at flushSyncCallbackQueueImpl (react-dom.development.js:11084)
at flushSyncCallbackQueue (react-dom.development.js:11072)
at flushSync (react-dom.development.js:21932)
at Object.scheduleRefresh (react-dom.development.js:11626)
at react-refresh-runtime.development.js:304
at Set.forEach ()
at Object.performReactRefresh (react-refresh-runtime.development.js:293)
at RefreshUtils.js:62

Sorting stops working because onClick doesn't work anymore

I reopen an invalid and closed issue due to lack of informations

In the table header we may have some 'onClick' in order to sort the columns values or select all rows
When I put my table in a TableScrollbar all columns in the header are not clickable anymore
So I can't use TableScrollbar, I really need to be able to click to select all and sort

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.