Skip to content

Commit

Permalink
Allow selecting texts in dataframe cells (#7154)
Browse files Browse the repository at this point in the history
* bugfix: Enable user-select for texts in editable cell

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
  • Loading branch information
3 people committed Jan 30, 2024
1 parent 8dd6f4b commit aab2a75
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/ripe-emus-try.md
@@ -0,0 +1,6 @@
---
"@gradio/dataframe": minor
"gradio": minor
---

feat:Allow selecting texts in dataframe cells
4 changes: 4 additions & 0 deletions js/dataframe/shared/EditableCell.svelte
Expand Up @@ -105,6 +105,10 @@
flex: 1 1 0%;
outline: none;
padding: var(--size-2);
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
}
.header {
Expand Down

0 comments on commit aab2a75

Please sign in to comment.