mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 17:02:25 -05:00
[bugfix/frontend] Small safari + gnome web fixes (#3219)
* [bugfix/frontend] Small safari + gnome web fixes * wee * update comment
This commit is contained in:
parent
9b2f14b131
commit
ffcf6e73f7
4 changed files with 44 additions and 13 deletions
|
|
@ -170,19 +170,21 @@ export function Select({
|
|||
<label>
|
||||
{label}
|
||||
{children}
|
||||
<select
|
||||
onChange={(e: React.ChangeEvent<HTMLSelectElement>) => {
|
||||
onChange(e);
|
||||
if (onChangeCallback !== undefined) {
|
||||
onChangeCallback(e.target.value);
|
||||
}
|
||||
}}
|
||||
value={value}
|
||||
ref={ref as RefObject<HTMLSelectElement>}
|
||||
{...props}
|
||||
>
|
||||
{options}
|
||||
</select>
|
||||
<div className="select-wrapper">
|
||||
<select
|
||||
onChange={(e: React.ChangeEvent<HTMLSelectElement>) => {
|
||||
onChange(e);
|
||||
if (onChangeCallback !== undefined) {
|
||||
onChangeCallback(e.target.value);
|
||||
}
|
||||
}}
|
||||
value={value}
|
||||
ref={ref as RefObject<HTMLSelectElement>}
|
||||
{...props}
|
||||
>
|
||||
{options}
|
||||
</select>
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue