Replacing select options on focus via knockout.js doesn't work on iOS Safari

耗尽温柔 提交于 2020-04-18 12:34:39

问题


This is a follow up question to a solution for another question of mine. Replacing the elements works fine on any desktop browser I've tested (FF, Edge, Chrome), but on my test iPad, it still shows the flags instead of the country names.

I already made sure, that the focus event fires on iOS.

To replicate the issue, you can just open the fiddle linked in the question above on iOS and your regular desktop browser and compare the result. On the desktop, it will show full country names in the expanded dropdown. On iOS Safari it will show two-letter ISO codes instead, which is not the expected behavior.

Do you have an idea, why Brother Woodrow's solution doesn't work on iOS Safari?

来源:https://stackoverflow.com/questions/60394539/replacing-select-options-on-focus-via-knockout-js-doesnt-work-on-ios-safari

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!