When slotting text inside kirby-checkbox or kirby-radio text does not wrap, but remains on one line. This can result in text being clipped.
When using the text-property text correctly wraps, and I would expect slotted text to be identical.
Describe how to reproduce the bug
Add two checkboxes or radios where one has slotted text and the other uses the text-property:
<kirby-checkbox text="Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua."></kirby-checkbox>
<kirby-checkbox>
Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua.
</kirby-checkbox>
This results in slotted text on one line, which is clipped:
Which Kirby version was used?
9.7.0
What was the expected behavior?
When using the text-property text correctly wraps, and I would expect slotted text to be identical.
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Verification
To make sure the bug is not intended behaviour; it should be verified by a member of team Kirby before moving on to implementation.
[ ] Make sure the NOT verified label has been removed by a member of team Kirby; do not proceed until this is done.
Implementation
The contributor who wants to implement this issue should:
Describe the bug
When slotting text inside
kirby-checkbox
orkirby-radio
text does not wrap, but remains on one line. This can result in text being clipped.When using the
text
-property text correctly wraps, and I would expect slotted text to be identical.Describe how to reproduce the bug
Add two checkboxes or radios where one has slotted text and the other uses the text-property:
This results in slotted text on one line, which is clipped:
Which Kirby version was used?
9.7.0
What was the expected behavior?
When using the
text
-property text correctly wraps, and I would expect slotted text to be identical.Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Verification
To make sure the bug is not intended behaviour; it should be verified by a member of team Kirby before moving on to implementation.
NOT verified
label has been removed by a member of team Kirby; do not proceed until this is done.Implementation
The contributor who wants to implement this issue should:
Review
Once the issue has been implemented and is ready for review: