Skip to content
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

inplaceInput component is activated by click only and not with Tab key #82

Open
mkrivan opened this issue Jul 7, 2024 · 0 comments
Open

Comments

@mkrivan
Copy link

mkrivan commented Jul 7, 2024

First of all I appreciate all your effort and work on richfaces.

I have found just one strange behavior with inplaceInput component:

<h:form>
            <rich:inplaceInput id="first" onfocus="console.log('first')"
                               value="#{richDemoBean.first}"
                               inputWidth="20">
                <f:ajax/>
            </rich:inplaceInput>
            xxx
            <rich:inplaceInput id="second" onfocus="console.log('second')"
                               value="#{richDemoBean.second}"
                               inputWidth="20">
                <f:ajax/>
            </rich:inplaceInput>
</h:form>

The richDemoBean provide only the two simple String values (first, second).

On this example when I run with your library 4.6.21 if I click on each input it is activated, but when the first one is active and I press the Tab key the second input is not activated only by clicking on it. No any focus activation happens.

If I use the latest 4.3.7 richfaces library the Tab key is also does the job and onfocus is called.

Would you have any idea what could be the problem? My faces version is 2.2.20 moyara.

Many thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant