Live-Search: Taking focus from search field should show tooltip "Enter search term" again
When you once clicked in the Search field and then leave it again, the Tooltip should reappear.
(issue imported from #M16681)
#4 Updated by Chris topher about 9 years ago
thanks for your patch. You are right in saying that the tooltip should only reappear, if the field is empty. ;-)
The patch works great, when I click into the darkest part of the topbar to take the focus away.
But when I click somewhere else (e.g. in the second darkest line at the top or into an open TCEform), the tooltip still is not shown. :-(
Do you think, this is also fixable?
#5 Updated by Jeff Segars about 9 years ago
The scenario you describe is actually the one that the patch attempted to address, albeit not that well.
In looking against, I think I see the issue. When the backend first loads, you can click anywhere in the backend and see the default text come back again. Once a new iFrame is loaded (such as TCEForms) there is not an event listener on that new IFrame to handle the click.
I'll need to think a bit about the best way to handle that.
#8 Updated by Chris topher about 9 years ago
I tested v2 and the tooltip is shown correctly with it.
Only the textcolor is not right, when you put the focus to the grey part of the BE (it is black instead of grey), but Steffen already noted this in #24652, so nothing to worry about here.
So: Version 2 works correctly!