valor-software / ng2-table

Simple table extension with sorting, filtering, paging... for Angular2 apps
http://valor-software.github.io/ng2-table/
MIT License
553 stars 335 forks source link

Unable to select text in single cell #622

Open dani4sfc opened 3 years ago

dani4sfc commented 3 years ago

Hi there, I know this project is no longer supported, but hopefully I could have a fix for this issue and then continue using this component.

I've just update to angular 8 an angular 5 app which is using ng2-table, I noticed in these tables, I'm unable to select the text in a single cell and keep it, it gets selected and then unselected automatically, I've seen there're some events getting triggered with the onCellClick, but removing or changing this doesn't fix the issue. I've tried also using different css classes to allow selecting the text, but that doesn't work as here, it's possible to select the text but it get unselected at the moment.

I've tried an angular+ng2-table demo: http://valor-software.com/ng2-table/

And there the behavior is the same, it's impossible to select and keep the single cell selection,

I'm hoping someone could help me with this,

Thanks!