pec1985 / TiSMSView

Expandable Text Area Module - iOS - Titanium
Other
60 stars 18 forks source link

Bug report kami #2

Closed kamikze closed 13 years ago

kamikze commented 13 years ago

Old:

reference: http://developer.appcelerator.com/question/124922/textfield-with-keyboard-like-smswhats-app#answer-217736

Could you help me with this?

pec1985 commented 13 years ago

Yeah, I saw the Q&A. I will look into it today. Also, try switching to the other branch in the repository

Pedro

Sent from my iPhone

On Aug 30, 2011, at 7:27, kamikzereply@reply.github.com wrote:

reference: http://developer.appcelerator.com/question/124922/textfield-with-keyboard-like-smswhats-app#answer-217736

Could you help me with this?

Reply to this email directly or view it on GitHub: https://github.com/pec1985/ExpandableTextArea/issues/2

kamikze commented 13 years ago

the 1.9 version wasnt recognized, just tried that one. The example runs fine now =)

ill try to implement it into my app next, now it just gives a square input field and no send button, only the text is show.

pec1985 commented 13 years ago

I'll push version 2 today, I also need to clean up the sample app.js and update the docs.

PS: make sure the smsview.bundle is the Resources

Sent from my iPhone

On Aug 30, 2011, at 7:40, kamikzereply@reply.github.com wrote:

the 1.9 version wasnt recognized, just tried that one. The example runs fine now =)

ill try to implement it into my app next, now it just gives a square input field and no send button, only the text is show.

Reply to this email directly or view it on GitHub: https://github.com/pec1985/ExpandableTextArea/issues/2#issuecomment-1942630

pec1985 commented 13 years ago

Responded to the Q&A.

Let me know how it goes.

kamikze commented 13 years ago

ah thnx pedro, adding the smsview.bundle to the resources fixed the layout ;)

didnt really read i needed to add the smsview.bundle to the resources, maby you could add that one to in the 1,2,3 steps to install your module.

ill be finishing my messaging system today with your module. And really your module is so nice tnx alot!

pec1985 commented 13 years ago

In glad you found it useful. I will add that to the steps of installing the module.

Also, very important to use version 2.0, unless you wish to see random app crashes, hehe. V2.0 has some major memory fixes, compared to earliest versions, and a couple of new features, like an "empty()" function and click events on the messages themselves.

Anyway, thanks again for the input and I'm looking forward to seen the app in the AppStore, let me know.

Pedro

Sent from my iPhone

On Aug 31, 2011, at 0:15, kamikzereply@reply.github.com wrote:

ah thnx pedro, adding the smsview.bundle to the resources fixed the layout ;)

didnt really read i needed to add the smsview.bundle to the resources, maby you could add that one to in the 1,2,3 steps to install your module.

ill be finishing my messaging system today with your module. And really your module is so nice tnx alot!

Reply to this email directly or view it on GitHub: https://github.com/pec1985/ExpandableTextArea/issues/2#issuecomment-1954379

kamikze commented 13 years ago

I am using 2.0 now, the loadMessages() function is quite usefull. Havent had a crash yet, so far so good =)

On the loadMessages, when i add alot of messages, it does not scroll to the bottom. But when you press the textfield and the keyboard comes up, it does scroll to the bottom. Perhaps a function that scrolls to the bottom, or add this to the loadMessages().

Maby for a future update the clouds could have a dateTime property ( string preffered ), where you can add a date from which the message was send. Would be usefull for a user to see that.

Hope this is userfull to you, i'll be looking forwards for future updates on this module =)

~Kami

kamikze commented 13 years ago

Ah sorry, just tested on a real iPhone and it does scroll to the bottom, for some reason it wont do that in the simulator.

But i did found a bug, my app supports portrait and landscape in the entire app. When i switch to landscape, the texfield and button are invisible and cutting the clouds from where it should be.

Should be nice if landscape works ;)

pec1985 commented 13 years ago

I just updated the documentation about the smsview.bundle

(Edited documentation/smsview.md)

About the scrolling on a bunch of messages, I still need to tweak it a bit, but it should run fine in the device, like you said.

Closing issue for now.