Data table edit dialogs don't appear on empty cells
See original GitHub issueSteps to reproduce
- Create a data table with a
v-edit-dialog
containing a text field - Click the cell
- Delete all the text and dismiss the edit dialog
- Try to open the edit dialog agian
Versions
Vuetify 0.15.7
What is expected ?
If a cell is empty the edit dialog activator should fill the entire thing.
What is actually happening ?
The dialog activator is only as wide as the text, so it ends up being 0px
Reproduction Link
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Display empty cells, null (#N/A) values, and hidden ...
Click the chart you want to change. Go to Chart Tools on the Ribbon, then on the Design tab, in the Data group,...
Read more >primefaces dataTable editMode works fine outside dialog ...
I am using JSF 2.2 with PrimeFaces 5.0. I have a dataTable with cell-editing. I am having problems with the dataTable inside dialog...
Read more >Excel Data Validation Tips and Troubleshooting
This page has data validation tips, and shows how to fix Excel data validation problems, such as drop down not working, blank selected, ......
Read more >How To Fill Blank Cells in Pivot Table
Example 1: ; STEP 1: Click on any cell in the Pivot Table. ; STEP 2: Go to PivotTable Analyze Tab > Options...
Read more >How to fill empty cells with 0, with value above/below in Excel
Click the Fill Blank Cells icon on the Ablebits Utilities tab. The add-in window displays on the screen with all the selected columns...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have not found more components using the small-dialog style, so I’m using this css code as a workaround
div.small-dialog { width: 100% }
This really seems more like a bug than an “enhancement”.
When the inline-editor’s activator is based on the size of a text value then even non-empty but short values, like “i”, makes opening the inline editor very non-material-ui friendly. It becomes an extremely small target to click or touch. Then in the case of an empty value, the activator is simply gone.
IMHO, the entire cell should activate the inline editor by default.