0

ZK datebox cursor appears through popup window in IE 10

asked 2015-12-14 12:28:54 +0800

gooamoko gravatar image gooamoko
3 2

updated 2015-12-15 00:29:53 +0800

Hi. In the IE 10 with datebox I have strange behavior in ZK 7.0.4, 7.0.5, 7.0.6 and 8.

In the fiddle

zkfiddle.org/sample/21g0stt/2-Another-new-ZK-fiddle

this begavior can be viewed. When browser window is not fullscreened, the cursor in the input date field appears through popup window when I show it by pressing calendar button.

Here my stackoverflow post with picture

stackoverflow.com/questions/34224695/is-any-workaround-for-datebox-in-ie-10

In the google chrome or firefox popup calendar either doesn't override input box or doesn't show cursor which is behind the popup window.

How can I get from IE 10 the same picture?

Thanks for helping me and best regards.

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-12-15 02:19:53 +0800

cor3000 gravatar image cor3000
4406 2 7
ZK Team

this happens by default in all modern IEs and the IE team seem reluctant to fix this https://connect.microsoft.com/IE/feedback/details/841043/blinking-text-cursor-overlapping-with-div

the workaround seems to remove the focus from the input element, so that no cursor is shown

the ZK client API has a function that can be overridden to achieve this http://www.zkoss.org/javadoc/latest/jsdoc/zul/db/DateboxCtrl.html

I updated your example to do that: http://zkfiddle.org/sample/21g0stt/7-Another-new-ZK-fiddle

Regards Robert

link publish delete flag offensive edit
-1

answered 2015-12-14 20:50:20 +0800

Darksu gravatar image Darksu
1991 1 4

Hello gooamoko,

This is the default style of the datebox.

You could set the following style: .z-datebox-input {display: none;} but you will be removing important functionality.

Best Regards,

Darksu

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-12-14 12:28:54 +0800

Seen: 26 times

Last updated: Dec 15 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More