KGModal icon indicating copy to clipboard operation
KGModal copied to clipboard

Is it possible to re-position KGModal when keyboard is displayed?

Open burakkilic opened this issue 11 years ago • 7 comments

Hi;

I am using my feedback controller in a KGModal. When keyboard is displayed, submit button hides under keyboard. I want to move KGModal up. Is it possible?

burakkilic avatar Aug 13 '13 08:08 burakkilic

This is a good idea, the modal should center it's self in the available space, the library would need to be modified to allow this behavior.

kgn avatar Aug 19 '13 23:08 kgn

Second that! KGModal seems like a good place to have a little text input in the center of attention, like a very important search field, but it lacks the ability to adapt with the presentation of the keyboard. I would very much like to see it do that. I'm using kgmodal in my app and it works flawlessly otherwise.

mohpor avatar Aug 28 '13 14:08 mohpor

I do not currently have this need in the projects I'm working on, it sounds like both of you do so either of you would probably be the best to implement it. If you do please submit a pull request and I'll take a look!

kgn avatar Dec 07 '13 23:12 kgn

I've made a solution for this. It looks to be working fine. Just need a little bit refactoring to meet a standard. Hopefully will create a pull-request tomorrow.

ashikahmad avatar Dec 11 '13 19:12 ashikahmad

Sorry! I did the changes upon the merge request #25 and so new merge request avoiding that one looks troublesome to me. Anyways, check the solution on my fork: https://github.com/ashikahmad/KGModal/tree/develop and comment what you think.

ashikahmad avatar Dec 17 '13 20:12 ashikahmad

Done! Check pull request #26

ashikahmad avatar Dec 28 '13 10:12 ashikahmad

Hi everyone, Recently, I have a problem with KGModal on iOS10. It works fine on iOS7, 8 and 9 My app uses KGModal to alert login form, it contains UITextfield when I touch on UITextfield keyboard will show to enter every infomations and then I dissmissed KGModal, finally App will freeze, couldn't touch on anybutton. please help me.

luongpp avatar Oct 07 '16 08:10 luongpp