angular-ui / ui-grid

UI Grid: an Angular Data Grid
http://ui-grid.info
MIT License
5.39k stars 2.47k forks source link

Issue observed in android devices when focused on edited cell. #5581

Open dvkrockz opened 8 years ago

dvkrockz commented 8 years ago

http://plnkr.co/edit/DZRjytDLUCbA4DDqc07g?p=preview

Changes to be made:
$scope.gridOptions = { enableCellEditOnFocus: false }; // changed value from true to false and enableCellEdit = true on the ID column.

Access the site in any android device and observe that when we try to edit the cell by double clicking on the cell or by long press on the editable cell, the cell appears to be in editable mode and keypad pops up, because of this the scroll event is being fired and when the scroll happens the cell is loosing it focus and because cell lost it focus the keypad disappears and the grid renders back to the original mode.

This is the flickering happening when we try to edit any of the cell in devices but works properly in case of I-Pad.

I have observed that scrollToIfNecessary is called before actually calling the beginEditAfterScroll. I guess this is done in order to render the cell if it is not in the visible viewport.

As I have been using the same grid, I am facing the flickering issue and cannot able to edit the cell. Please help me out as i am trying to fix this from past 2 days.

sajalprocit commented 3 months ago

@dvkrockz Same issue as described above. Any updates? Did you fix it?