-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Edit record not possible #527
Comments
this should work correctly again |
Edit action is working BUT:
|
The cell / row height issue should be fixed. |
Flickr is with macOS and Chrome, but only if developer tools are embedded and only if you press the pencil - not if you double click with mouse. |
@rjahn could you please attach a short screencap, I am not able to reproduce any flicker in chrome on macOS |
Sure: flickering.mp4The difference is that button click sends a request and in case of developer console, all images are requested again? I saw that images are requested for change row selection? Why? Without developer tools, the column doesn't flickr. |
In your case the caching is disabled in the developer mode. So if an image (the checkbox) is rerendered the image isn't fetched from the cache and reloaded hence the flicker. |
You're right! The only open question here: Why does caching work in case of double-click a cell and pressing Esc vs. Pencil and Esc? |
doubleclicking it only starts the editing session on the client apparently since there seems to be no request sent at that moment. So just the cell rerenders to display the editor. When clicking the pen, the editing session is triggered by the server response, which in turn causes a rerender of the table content |
From my point of view, there should be no difference if user double clicks or gets the response which will start editing? Are we safe here? |
The end result is basically the same so we should be safe on that end. Just how react propagates those changes of the editing mode is different and causes some rendering side effects (like unnecessary DOM updates) on the way. |
Screen: Contacts (DB)
Press the pencil beside the table:
The response contains the comman property (startEditing):
which should switch the table in edit mode for the current selected record/column.
fyi: A command property is a dynamic property only, for only one response.
The text was updated successfully, but these errors were encountered: