Title: InputText Field not get Focus inside Primefaces Datatable in Chrome
Tags: jsf;primefaces
Question: Am using JSF 2.2 and Primefaces 6.2 in my Project.
I have Primefaces Datatable with <h:InputText&gt; Inside Datatable.
Below is the code,
<p:dataTable id="basicDT" var="car" value="#{dtSelectionView.cars1}" selectionMode="single" selection="#{bean.value}" rowIndexVar="var" rowKey="#{car.id}"&gt;
<f:facet name="header"&gt;
Basic
</f:facet&gt;
<p:column headerText="Id"&gt;
<h:InputText value="#{car.id}" /&gt;
</p:column&gt;
</p:dataTable&gt;
Its working fine in IE 11. But in chrome When I click inside Inputtext it's not getting focused. If I remove selectionMode="single" then the focuse work correctly. Why In chrome unable to focus <h:InputText&gt;.?
Comment: So you tried PrimeFaces 7.0 and noticed the same issue? Oh and chrome 1 is not supported anymore (and off-topic: google s*cks more and more regarding how the hijack/kidnap browser development... Jikes....)

Comment: Sure for production I understand, but I **nowhere** stated you should switch to using PF7 in production. As a developer (or person trying to help), the first thing I always do if something does not work and I cannot explain why, is to **TRY** a latest verion, read the releasenotes etc. So to just see if it by chance works in a newer version which then becomes a very good lead in solving things. But since you are the developer here, you can and should try that. You have the code ready (in [mcve] flavour) ready and can very easily try. Not something we should spend time on. Cheers...

Comment: No. I have to make it work in Primefaces 6.2. Am using Chrome Version : 73.0.3683.103 (Official Build). I would like to know the reason why it's not working in Chrome.?



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 0, 'CommentCount': 3, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2019:00:04/12/19', 'FavoriteCount': 0.0, 'PostTypeId': 1, 'Tags': '<jsf><primefaces>', 'Title': 'InputText Field not get Focus inside Primefaces Datatable in Chrome', 'ViewCount': 62, 'id': 55651333, 'user_AboutMe': '<p>Java Developer</p>\n', 'user_AccountId': 2554098.0, 'user_DisplayName': 'Jai', 'user_Reputation': 340.0, 'user_Views': 38.0, 'user_id': 2216495.0}}