Using ToolTip to show some tips when TextInput is focused
Saikedo opened this issue · 0 comments
Has anyone tried showing ToolTip while textInput is focused?
I am implementing a password input component and would like to show a tooltip that shows what password requirements are fulfilled and what are the errors. Was wondering if anyone was able to successfully implement this functionality?
So far I was able to implement everything except the part where if I click on the textInput to change the cursor position for textInput that is generated by ToolTip, for some reason onBlur method is called and that is where I dismiss the ToolTip.
I tried using the following props on ToolTip but that did not help.
closeOnChildInteraction={false}
closeOnContentInteraction={false}
allowChildInteraction={true}
Another issue that I need to resolve after this one is to detect if there was a scroll attempt while toolTip was shown so I can hide the toolTip.