Open adam4h opened 7 years ago
any updates on this? i have the same problem
?
Same here in FF on mac. Does anyone have found a temporary solution to this?
Anyone find any fix?
i am also using FF on a mac.
i kind of found 2 workarounds to this:
1- by adding a transparent element that overlays the input field. then added a click event on the overlay that will hide it self and trigger $('#input_id').focus();
2- as mentioned above but unslick your slider then slick it again before triggering the focus() note before that by unslicking and slicking your slider, your slider will reset to the first slide which your input field may or may not be on. before unslicking your slider, you will need to set a variable that remembers the current slider position so you can use the slickGoTo after you slick your slider again.
However once you click out of the input field, you will run to the same problem again, therefore you will need to unhide the element that overlays the input at this point. perhaps use the blur() function (untested)
hope that helps
Hi ahm-3d,
Thanks for you explanation.
Any change you can post your solution?
this should get you started
Here is a fork of the fiddle provided by @adam4h with a possible solution.
@theurere thanks for your fiddle. The position absolute
creates some flickering in the UI. I changed the position to relative
and that seems to work to, but without the flickering.
@adam4h @Ridder90 the solution helped and saved a lot of time. Thanks 👍
===================================================================
Find code here: http://jsfiddle.net/shraga/x6f4L56v/8/
====================================================================
Steps to reproduce the problem
1) open firefox on windows (did not test of mac) 2) open this code and test: http://jsfiddle.net/shraga/x6f4L56v/8/
===================================================================
What is the expected behavior?
When you click in the input you will see the text cursor blinking:![image](https://cloud.githubusercontent.com/assets/1515639/20093023/9f6fc040-a5a3-11e6-87c0-9a1554eea5aa.png)
===================================================================
What is observed behaviour?
When you click in the input you will NOT see the text cursor blinking:![image](https://cloud.githubusercontent.com/assets/1515639/20093004/861643a8-a5a3-11e6-86f3-0c4b9931e64c.png)
More Details