komarovalexander/ka-table

Unable to select all the cell content with mouse double click in firefox

Closed this issue · 4 comments

For some reason I can use the double mouse click to select all the cell content in chrome but the same does not work in firefox and neither does clicking at the center of the cell. The cursor is just stuck at the end.

Screen.Recording.2024-05-16.at.4.19.47.PM.mov

I have attached two videos, the one in

Screen.Recording.2024-05-16.at.4.21.14.PM.mov

which the double click works in google chrome and the one in which it does not is firefox. I can't seem to figure out what is causing this to happen.

Hi @fshahmt I cant reproduce it on this demo on firefox https://komarovalexander.github.io/ka-table/#/editing, could you provide stackblitz example? https://stackblitz.com/edit/table-editing-ts?file=Demo.tsx

By default table uses native browser editors

Hi @fshahmt I cant reproduce it on this demo on firefox https://komarovalexander.github.io/ka-table/#/editing, could you provide stackblitz example? https://stackblitz.com/edit/table-editing-ts?file=Demo.tsx

By default table uses native browser editors

Thank you sooo much for such a quick response. I'll try and replicate it on stackblitz if possible. Could you in the meantime help me out. I want to be able to manipulate the input (the native browser editor) but can't seem to figure out how I can go about it in ka-table

You can access it using childComponents.cellEditorInput https://ka-table.com/docs_props.html#childcomponents

Apologies for not responding yesterday and again thank you so much for the prompt response. I have now found a workaround. The previous team seems to have screwed the codebase so much that even the features that you provide by default don't work unless I try workarounds. You were really helpful and thank you again for being so quick in the support.