Re: [Xsltforms-support] select1 behaviour on iPad
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2023-11-27 17:46:44
|
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> Hi Mark, </div> <div class="default-style"> </div> <div class="default-style"> Thanks you for this hint: it appears that the drop-down list is only refreshed by an iPad with iPadOS 17.1.1 when the focus on it is lost by the select element. </div> <div class="default-style"> </div> <div class="default-style"> As a workaround, a Javascript blur() call, followed by a delayed focus() call, sounds enough. </div> <div class="default-style"> </div> <div class="default-style"> Are you in a hurry about this fix? </div> <div class="default-style"> </div> <div class="default-style"> --Alain </div> <blockquote type="cite"> <div> Le 21/11/2023 11:14 CET, Mark Seaborne via Xsltforms-support <<a href="mailto:xsl...@li...">xsl...@li...</a>> a écrit : </div> <div> </div> <div> </div> <div> Hi again, </div> <div> </div> <div> I just noticed that if I just run instance() for the node whose value is set by the select1 from the debug command line, the dropdown select1 refreshes and works normally. </div> <div> </div> <div> Mark </div> <div> </div> <blockquote type="cite"> <div> On 21 Nov 2023, at 09:23, Mark Seaborne <<a href="mailto:m_s...@ma...">m_s...@ma...</a>> wrote: </div> <div> </div> <div> Hi, </div> <div> </div> <div> I have recently noticed that select1 as a dropdown list doesn't quite work in iPad browsers with XSLTForms 1.7 (using iPadOS 17.1.1). </div> <div> </div> <div> Where the node bound to the selected value starts empty, an initial selection works. However, the empty value row of the dropdown list isn't removed after the initial selection, which messes up the mapping between the index of the selected node in the itemset and the selected row of the dropdown list. </div> <div> </div> <div> The attached form can be used to demonstrate the problem on an iPad. Interestingly the form works fine on my old iPhone (iOS 15.8). </div> <div> </div> <div> My understanding is that all iPad Web browsers are built on WebKit and certainly those that I have tried (Vivaldi and Firefox) show the same behaviour. </div> <div> </div> <div> Best wishes </div> <div> </div> <div> Mark </div> <div> </div> <div> <select1.xml> </div> <div> </div> <div> </div> <div> </div> </blockquote> <div> </div> <div> </div> <div> _______________________________________________ </div> <div> Xsltforms-support mailing list </div> <div> <a href="mailto:Xsl...@li...">Xsl...@li...</a> </div> <div> <a href="https://lists.sourceforge.net/lists/listinfo/xsltforms-support" target="_blank" rel="noopener">https://lists.sourceforge.net/lists/listinfo/xsltforms-support</a> </div> </blockquote> </body> </html> |