Bug #39558
closed
reqImg CSS blocks radio button selection
Added by Xavier Perseguers over 12 years ago.
Updated about 11 years ago.
Category:
FormEngine aka TCEforms
Description
Class img.t3-TCEforms-reqImg may prevent the user from selecting a radio button by clicking on the radio icon itself.
See screenshot for a visual overlay of where this class is put in a form (I just added a red background to the class to make it visible)
User currently MUST click on the associated label (or at the very bottom left of the radio button) to select it.
Has been tested in all standard browsers where this behaviour has been reproduced.
Files
Example of TCA to reproduce the fields:
'family_climbing' => array(
'exclude' => 0,
'label' => 'Family Climbing',
'l10n_mode' => 'exclude',
'config' => array(
'type' => 'radio',
'items' => array(
array('Yes', '0'),
array('No', '1'),
array('Unknown', '2'),
),
'default' => 2,
)
),
Only solution I see is to make an tiny of 4-7 pixels wide (the room of the red triangle) and position it in front of the title.
radio middle button overlay also happens in typo3 v4.5
Temporarily fixed (hack) within a custom extension:
ext_tables.php
// Register our custom CSS
$GLOBALS['TBE_STYLES']['skins'][$_EXTKEY]['stylesheetDirectories']['structure'] = 'EXT:' . $_EXTKEY . '/Resources/Public/Css/structure/';
Resources/Public/Css/Structure/main_content.css
/* Temporary hack for http://forge.typo3.org/issues/39558 */
.checkbox, .radio, .checkbox:hover {
margin-left: 30px;
}
- Status changed from New to Needs Feedback
This report looks the same to #34042 which has been merged to 6.0 and higher. Is this correct?
Yes, seems same issue. Christian Kuhn wrotes there: "Issue is not critical enough for 4.7 & 4.5, will not be merged there." The used solution there creepy. :-/
- Status changed from Needs Feedback to Closed
- Is Regression set to No
No feedback within the last 90 days => closing this ticket.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.
Also available in: Atom
PDF