Project

General

Profile

Actions

Bug #24574

closed

Positioning and JS behaviour of the icon to clear input fields are suboptimal

Added by Jo Hasenau over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2011-01-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Currently there is an X-icon as a replacement of the former checkbox, that is used to reset/clear existing values of any input field.

Depending on the browser the position of this icon inside the box is not aligned "middle" relative to the box.

Additionally the JS clears the value but doesn't set the focus to the cleared input field.

(issue imported from #M17035)


Files

17035.diff (1.65 KB) 17035.diff Administrator Admin, 2011-01-14 17:58
17035_v2.diff (1.83 KB) 17035_v2.diff Administrator Admin, 2011-01-14 18:11
Actions #1

Updated by Jo Hasenau over 13 years ago

Attached patch changes the top position from 6px to 28% so that the different "computed height" of the surrounding box is taken into account. Additionally the focus is set to the input field.

Tested with IE8, FF, Chrome, Safari (all Win7)

Actions #2

Updated by Jo Hasenau over 13 years ago

V2 adds 20px padding to the right of each input field to avoid text behind the icon.

Actions #3

Updated by Jeff Segars over 13 years ago

Committed to trunk in r10078.

Actions #4

Updated by Susanne Moog about 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF