Page 1 of 1

Datepicker year drop down is displaying on the top of the tooltip

Posted: 23 May 2023, 19:29
by Shaik Irfan
Hello team We do have a datepicker and an input field in my application. Whenever the user hovers over an input field, a tooltip is shown. yet the tooltip that appears beneath the year dropdown always. How can I get a tooltip to appear at the top of the year drop down?

Code:
<p:datePicker
id="endDate"
showIcon="true" maxlength="10"
mindate="#{myBean.minDate}"
maxdate="#{myBean.currentDate}"
value="#{myBean.createDate}"
pattern="dd/mm/YYYY HH:mm" yearNavigator="true"
monthNavigator="true" readonlyInput="false"
hideOnDateTimeSelect="true"
converterMessage="enter valid end date"
showOnFocus="false" yearRange="1900:3000" required="true">
<p:tooltip
id="endDateTooltip"
for="endDate"
trackMouse="false" showEffect="fade" hideEffect="fade"
showEvent="mouseover" hideEvent="mouseout"
showDelay="0" hideDelay="0"
value="please input as dd/mm/YYYY HH:mm" />
</p:datePicker>

Re: Datepicker year drop down is displaying on the top of the tooltip

Posted: 24 May 2023, 14:40
by Melloware
I have fixed this for PF 13.0.0 with this ticket: https://github.com/primefaces/primefaces/issues/10100

Re: Datepicker year drop down is displaying on the top of the tooltip

Posted: 30 May 2023, 08:15
by Shaik Irfan
I upgraded primefaces to the most recent 13.0.0-RC1 version and discovered that the problem is still present. How can I get the tooltip to appear above the datepicker's year dropdown in primefaces 12 or later?
Thank you.

Re: Datepicker year drop down is displaying on the top of the tooltip

Posted: 30 May 2023, 15:35
by Melloware
Can you provide a PrimeFaces Test reproducer showing the problem? I can't reproduce it.

Use: https://github.com/primefaces/primefaces-test