Skip to content

Memoize <span> elements#142

Merged
texodus merged 2 commits intomasterfrom
span-factory
Jul 9, 2021
Merged

Memoize <span> elements#142
texodus merged 2 commits intomasterfrom
span-factory

Conversation

@texodus
Copy link
Copy Markdown
Member

@texodus texodus commented Jul 8, 2021

  • Memoize <span> elements (used in column headers).
  • During auto size, calculate width via parseFloat(window.getComputedStyle(elem).width), which returns the sub-pixel units necessary to remove a small flicker when column auto-sizing is performed.

@texodus texodus force-pushed the span-factory branch 2 times, most recently from 07a2634 to 6358ca1 Compare July 8, 2021 22:31
@texodus texodus merged commit 368bc15 into master Jul 9, 2021
@texodus texodus added the enhancement Feature requests or improvements label Jul 9, 2021
@timkpaine timkpaine deleted the span-factory branch February 15, 2023 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Feature requests or improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant