jspreadsheet / jspreadsheet/ce

Split thead css

Open
#981 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
7.2k
Forks
890
PR merge metrics
No merged PRs in 30d

Description

How do you about moving

.jexcel > thead > tr > td
{
    position: -webkit-sticky;
    position: sticky;
}

to some separate css class and may be make a new config option for that.

Reason is if table placed into position:fixed; container, when sticky thead behaves a bit strange (places over tbody) on page scrolling down in Chrome browser.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the stylesheet rule for .jexcel > thead > tr > td and the configuration entry points for table options. Reproduce the sticky-header behavior inside a position: fixed container in Chrome, then determine how an optional CSS class or configuration setting should control it. Done means the header no longer behaves incorrectly when the option is disabled, while existing behavior remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.