Minichan

Topic: Textareas should now resize to fit their contents in mobile mode

r04r started this discussion 15 years ago #6,851

Because scrolling in them is shit on android.

Anonymous B joined in and replied with this 15 years ago, 2 minutes later[^] [v] #120,241

But now it's ridiculously thin on an iPod. Could you make it just a tiny bit wider, please?

stal !nator.ccGk joined in and replied with this 15 years ago, 2 minutes later, 5 minutes after the original post[^] [v] #120,244

@previous (B)
wat

Anonymous B replied with this 15 years ago, 47 seconds later, 5 minutes after the original post[^] [v] #120,247

@previous (stal !nator.ccGk)
Just calling it as I see it.

Foxygen !FANATICibM joined in and replied with this 15 years ago, 59 seconds later, 6 minutes after the original post[^] [v] #120,250

I checked it. I like.

SQUARED !B./giPt8go joined in and replied with this 15 years ago, 3 minutes later, 10 minutes after the original post[^] [v] #120,253

Image went missinglol

stal !nator.ccGk replied with this 15 years ago, 2 minutes later, 12 minutes after the original post[^] [v] #120,255

@previous (SQUARED !B./giPt8go)
dem half-pixels

i got that too

SQUARED !B./giPt8go replied with this 15 years ago, 1 minute later, 14 minutes after the original post[^] [v] #120,256

@previous (stal !nator.ccGk)
What do you mean? :s

Foxygen !FANATICibM replied with this 15 years ago, 1 minute later, 15 minutes after the original post[^] [v] #120,257

Externally hosted image@120,253 (SQUARED !B./giPt8go)
@120,255 (stal !nator.ccGk)
Not I.

SQUARED !B./giPt8go replied with this 15 years ago, 2 minutes later, 18 minutes after the original post[^] [v] #120,261

@previous (Foxygen !FANATICibM)
If that's the style I made, then that's because I set the text area to 140px or something. :')

!poISOnioxc joined in and replied with this 15 years ago, 13 minutes later, 31 minutes after the original post[^] [v] #120,286

There's a problem I've been having with poll options on my phone. I can only seem to make 2 poll options.

Anonymous B replied with this 15 years ago, 1 minute later, 32 minutes after the original post[^] [v] #120,287

I do like how it expends as you write more, however. It's tolerable as it is, I suppose.

[^_^] !IOdbnXsKDk joined in and replied with this 15 years ago, 4 minutes later, 36 minutes after the original post[^] [v] #120,295

It did the tiny thing on my android, but as soon as I started typing it expanded.

r04r (OP) replied with this 15 years ago, 35 minutes later, 1 hour after the original post[^] [v] #120,363

@120,286 (!poISOnioxc)
Then your phone fails at javascript. Tough luck.

r04r (OP) double-posted this 15 years ago, 1 minute later, 1 hour after the original post[^] [v] #120,365

The tiny height thing should be fixed.

Anonymous H joined in and replied with this 15 years ago, 7 minutes later, 1 hour after the original post[^] [v] #120,373

@previous (r04r)
Not for me. It's jacked. It 'works,' but it's annoying.

Killer Lettuce !!iNo3FkiZx replied with this 15 years ago, 6 minutes later, 1 hour after the original post[^] [v] #120,381

@120,365 (r04r)
Now it's expanding for each individual character I type.

(Edited 2 minutes later.)

r04r (OP) replied with this 15 years ago, 2 minutes later, 1 hour after the original post[^] [v] #120,384

@120,373 (H)
@previous (Killer Lettuce !!iNo3FkiZx)
How about now?

Anonymous H replied with this 15 years ago, 4 minutes later, 1 hour after the original post[^] [v] #120,390

@previous (r04r)
Yes, that is back to normal. Thanks r04r

r04r (OP) replied with this 15 years ago, 2 minutes later, 1 hour after the original post[^] [v] #120,392

@previous (H)
Should still expand when exceeding the textarea size.

Anonymous H replied with this 15 years ago, 4 minutes later, 1 hour after the original post[^] [v] #120,396

@previous (r04r)
Yes, it does. Works perfectly for me now. Lools good.

Killer Lettuce !!iNo3FkiZx replied with this 15 years ago, 1 hour later, 2 hours after the original post[^] [v] #120,468

@120,384 (r04r)
Yep, it's fine now. Cheers.

(Edited 3 minutes later.)

protip !!pMmAiEwOm joined in and replied with this 15 years ago, 17 hours later, 20 hours after the original post[^] [v] #121,122

There is now a little bit of "lag" introduced while typing. I have an iPhone 3G S and the responsiveness has decreased.

r04r (OP) replied with this 15 years ago, 5 minutes later, 20 hours after the original post[^] [v] #121,124

@previous (protip !!pMmAiEwOm)
Upgrade to an android. Also should be a bit less now. I'll change the jquery code that does it later to regular javascript to reduce overhead.

(Edited 1 minute later.)

Anonymous J joined in and replied with this 15 years ago, 9 minutes later, 20 hours after the original post[^] [v] #121,129

Image went missing@121,122 (protip !!pMmAiEwOm)
> I have an iPhone 3G S

protip !!pMmAiEwOm joined in and replied with this 15 years ago, 4 hours later, 1 day after the original post[^] [v] #121,297

@previous (J)
:-)

I've had it for a while, now. The anti-oil coating on the screen has worn off and the plastic backing is full of cracks. Feels good, man.

Anonymous L joined in and replied with this 15 years ago, 1 hour later, 1 day after the original post[^] [v] #121,353

@121,129 (J)
this image is wholly disconcerting.

Anonymous J replied with this 15 years ago, 3 minutes later, 1 day after the original post[^] [v] #121,358

Image went missing@previous (L)

TTEH joined in and replied with this 15 years ago, 1 minute later, 1 day after the original post[^] [v] #121,361

Image went missing@121,353 (L)

Anonymous L replied with this 15 years ago, 5 seconds later, 1 day after the original post[^] [v] #121,362

Image went missing@121,358 (J)
wut

Broseph !!fxnDb+Ve4 joined in and replied with this 15 years ago, 7 hours later, 1 day after the original post[^] [v] #121,778

I think this is creating a problem for me where for some reason my Blackberry wants to stay focused on the top of the text box rather than where I am typing, and as a result I sometimes cannot see what I am typing. If I try to scroll down to see what I'm typing, it scrolls back to the top as soon as I start typing again. Sorry if this is unclear, but I'm having a hard time explaining what's going on. Before, the box would stay the same size and the text would scroll as I typed. It seems to be working fine now, so I'm not sure what the fuck is going on. Is there anyway to figure out what's going on and fix it or does my phone just fail?

Now it's doing it again for some reason. Also, for some reason the name field doesn't expand, but the regular text field does. I'm confused.

r04r (OP) replied with this 15 years ago, 3 minutes later, 1 day after the original post[^] [v] #121,784

@previous (Broseph !!fxnDb+Ve4)
First off, the name field isn't supposed to expand because it's a 1 line box, the message area is multi-line. It should expand vertically to accommodate its contents.

I am not sure why your phone would behave like that, but I think I know what it's doing but there's not much of a fix for it.

Maybe with some of the issues I'll see about making this thing android/iPhone only because those seem to be able to handle it.

(Edited 11 seconds later.)

Broseph !!fxnDb+Ve4 replied with this 15 years ago, 22 minutes later, 1 day after the original post[^] [v] #121,819

@previous (r04r)
I'm on a blackberry. :(

r04r (OP) replied with this 15 years ago, 2 minutes later, 1 day after the original post[^] [v] #121,823

@previous (Broseph !!fxnDb+Ve4)
I know, and I have no idea on how to make the textarea expand properly for blackberries without the symptoms you described.

[^_^] !IOdbnXsKDk replied with this 15 years ago, 16 minutes later, 1 day after the original post[^] [v] #121,847

The text areas grow with each letter I type in. After the first sentence it is impossible to see what I am typing. I am on the dolphin browser for android.

Edit: when I deleted a letter during my edit, the text box grew also.

(Edited 1 minute later.)

Broseph !!fxnDb+Ve4 replied with this 15 years ago, 5 minutes later, 1 day after the original post[^] [v] #121,856

@121,823 (r04r)
OK, I seem to be doing an OK job at typing blind for now. I haven't made many mistakes, surprisingly. One thing I just noticed is that my text box is expanding with every character rather than expanding with every line. My text box is now about 10x bigger than my actual text. Kinda weird but inconsequential. I take that back. It's not inconsequential because it now takes forever to scroll down to hit the post button. I'm not gonna complain though. Everything seems to work itself out here. But seriously wtf.

Broseph !!fxnDb+Ve4 double-posted this 15 years ago, 1 minute later, 1 day after the original post[^] [v] #121,860

@121,847 ([^_^] !IOdbnXsKDk)
Having the same issue. It grows with every character but doesn't shrink when I delete. This is getting weird.

[^_^] !IOdbnXsKDk replied with this 15 years ago, 7 minutes later, 1 day after the original post[^] [v] #121,875

@previous (Broseph !!fxnDb+Ve4)
The only difference seems to be that mine scrolls Down while yours seems to just stay at the top correct?

Broseph !!fxnDb+Ve4 replied with this 15 years ago, 13 minutes later, 1 day after the original post[^] [v] #121,887

@previous ([^_^] !IOdbnXsKDk)
The box gets bigger and bigger but my phone won't let me follow it. It's hard to explain. It's like my phone wants to stay focused on the top of whatever box I'm typing in. It did the same thing before, but before I could scroll within the box, so I could see the bottom of the text while still having the box where my phone wanted it. Now the text I type keeps going down where I can't see it while my phone stays focused on the top of the box, or maybe it's more the center of the box it's trying to stay focused on. I'm not sure, because it seems to be working now. It's finicky. I dunno man, like I said, it's very hard to explain and very confusing. Typing is just all kinds of fucked for me right now. The ridiculously huge text box thing is also weird.

[^_^] !IOdbnXsKDk replied with this 15 years ago, 2 minutes later, 1 day after the original post[^] [v] #121,890

@previous (Broseph !!fxnDb+Ve4)
I understand what you mean. You see the beginning of your post but the words soon drop out of sights and your screen doesn't follow it. Mine is following the growth and leaving my words above my focus.

r04r (OP) replied with this 15 years ago, 11 minutes later, 1 day after the original post[^] [v] #121,901

Disabled for now. Will implement a better fix tonight.

r04r (OP) double-posted this 15 years ago, 20 minutes later, 1 day after the original post[^] [v] #121,902

how about now.

Anonymous O joined in and replied with this 15 years ago, 3 minutes later, 1 day after the original post[^] [v] #121,904

@previous (r04r)
Yeah, it's all good now.

[^_^] !IOdbnXsKDk replied with this 15 years ago, 8 hours later, 1 day after the original post[^] [v] #122,022

Perfect!

Broseph !!fxnDb+Ve4 replied with this 15 years ago, 1 hour later, 1 day after the original post[^] [v] #122,056

@121,902 (r04r)
I love you r04r. This looks amazing.
:

Please familiarise yourself with the rules and markup syntax before posting.