Safari 3 has resizable textareas by default. The grip is more annoying than useful IMO.

Are there any good reasons for keeping the grip in Safari 3?

Comments

kkaefer’s picture

No. Drop it.

Stefan Nagtegaal’s picture

One thing that would be nice, is to disable the horizintal resizing and only allow resizing of textarea's (in Safari 3b) height.

That way we do not get any other weird theme issues...

Stefan

wim leers’s picture

That's easy.

textarea { 
     resize: vertical; 
}

I'll add a patch when I have time.

kkaefer’s picture

Status: Active » Needs review
StatusFileSize
new858 bytes

Patch removes the grippie from Safari 3 and sets the resize to vertical-only. However, I don't think it's a really good change because the target area of the grippie is a lot larger.

jrabeemer’s picture

This patch breaks the summary splitter in Safari 3.0.4 on Leopard and Vista. The textfields disappear.

jrabeemer’s picture

Also, it seems, in Safari 3.0.4, the vertical restriction doesn't seem to be respected (it's resizing in both directions). Can anyone confirm this?

andreashaugstrup’s picture

StatusFileSize
new1.17 KB

I can confirm that the existing patch did not address the vertical restriction and that the textfields do indeed disappear (also on Safari 3.0.4 and Tiger).

The problem is that the textarea needs to be wrapped in the extra divs and spans for the summary splitter to work. And for the vertical restriction to work the textarea needs a max-width.

I have attached a patch that fixes these two problems. I have the summary splitter working again in Safari and I have a textarea with no grippie and Safari's own resize feature only allows vertical resizing.

dvessel’s picture

I agree with kkaefer. The default corner drag handle is so tiny. Too bad we can't swap it out for grippe.

andreashaugstrup’s picture

Habit wins over grip area in my opinion. Safari users are used to their resize handle being the way it is. I believe it to be best to remove the Drupal grippie for Safari users so they can use what they are used to using.

dvessel’s picture

StatusFileSize
new977 bytes

Maybe so, but the handle is in the corner so it would be expected that the textarea should resizable on its width too.

Here's an alternative so it behaves like all other browsers. I was about to place it straight inside system.css but the resize property is part of CSS3 and won't validate.

It doesn't sniff for Safari since the other browsers should simply ignore it.

motima’s picture

Hi,
just try

textarea {
     resize: none;
}

it works on Safari 3.0.2 (522.13.1)

Wolfflow’s picture

subscribe

wim leers’s picture

Status: Needs review » Closed (fixed)

Cleaning up the issue queue.