Open patuku-roy opened 8 years ago
Forgot to mention, I'm using Cordova 5.1.1 and iOS 8.4.1
@patuku-roy Is this on iPad or iPhone?
@EddyVerbruggen iPhone 5 and iOS 8.4.1
Can you post a link to the plugin as well? Or better: a demo app reproducing the issue?
@EddyVerbruggen Okay this is my pseudo code:
$("#editor").on("click", function() {
window.Keyboard.shrinkView(true);
window.Keyboard.disableScrollingInShrinkView(true);
});
$("#menu").on("click", function() {
window.plugins.actionsheet.show(
options,
function(buttonIndex) {
console.log(buttonIndex);
},
function(error) {
console.log(error);
window.plugins.actionsheet.hide();
}
);
});
I think no special algorithm inside that code, except I have similar condition like #27 ... I have status bar plugin ... probably this is the the culprit
@EddyVerbruggen I'm using this plugin along with keyboard shrinkView plugin, I have page with 2 buttons which is trigger the action sheet and the other trigger the shrinkView through input focus after we click the button.
If I'm click the action sheet button and cancel it, then click another button and programatically put the focus on the input. All keyboard shrinkView events didn't trigger at all.
Do you have any idea about this? I tried to dig both code and I found about the
self.webView
andself.webView.superView
which is maybe be the culprit. If you have any feedback, I really appreciated because I'm really in a tight deadline.