mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
fix(data-table): prevent selectable datatable with sticky header from jumping
Fixes #1228
This commit is contained in:
parent
845225ffeb
commit
65e54f1e36
1 changed files with 19 additions and 17 deletions
|
@ -18,6 +18,7 @@
|
||||||
export let ref = null;
|
export let ref = null;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<div class:bx--checkbox--inline="{true}">
|
||||||
<input
|
<input
|
||||||
bind:this="{ref}"
|
bind:this="{ref}"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
|
@ -35,3 +36,4 @@
|
||||||
title="{title}"
|
title="{title}"
|
||||||
aria-label="{$$props['aria-label']}"
|
aria-label="{$$props['aria-label']}"
|
||||||
class:bx--checkbox-label="{true}"></label>
|
class:bx--checkbox-label="{true}"></label>
|
||||||
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue