When scroll on page and open dialog with IE or Chrome, calendar popup remain below from calendar input. i called PF(widgetVar).alignPanel(); function on a lot of ajax events(onfocus, onselect ...) but only onclick event works. but if user use tab (not with click event), it isnt work. on EI or Chrome, when i click calendar input, popup remain below but if i resize window, popup appears right position. (firefox works perfectly)
i use pf 7.0, tomcat 8.5, jsf 2.1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:p="http://primefaces.org/ui">
<f:view contentType="text/html">
<h:head></h:head>
<h:body>
<p:spacer height="2000" />
<p:commandButton value="Open Dialog" type="button" onclick="PF('dlg').show();" />
<p:dialog widgetVar="dlg">
<p:calendar />
</p:dialog>
</h:body>
</f:view>
</html>
i hope it is ok.