Skip to content

Commit

Permalink
autofocus false receipes
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin1999Stark committed Aug 29, 2024
1 parent c586e13 commit 52dc80c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions Frontend/frontend/src/Components/PlanerResourceCol.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ function PlanerResourceCol({ mealListID, onAddMeal }: Props) {
<input
type="search"
value={searchString}
autoFocus={false}
onChange={(e) => setSearchString(e.target.value)}
className='bg-white w-full focus:ring-0 py-2 text-start shadow-md px-6 rounded-full mr-2'
placeholder='Rezepte Suchen ...' />
Expand Down
1 change: 0 additions & 1 deletion Frontend/frontend/src/Views/ShoppingListView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,6 @@ function ShoppingListView({ shoppingList, setShoppingList }: Props) {
<div ref={bottomRef}></div>
</ul>
</div>

<form className='w-[90%] sm:w-full fixed sm:relative bottom-[7.4rem] sm:bottom-0 h-fit py-4 flex flex-row justify-between items-center pr-0 sm:pr-1' onSubmit={handleSubmit(onSubmit)}>
<span className='w-3/5 mr-1'>
<AutoCompleteInput search={handleAutoCompleteSearch} onSelect={handleIngredientSelect} />
Expand Down

0 comments on commit 52dc80c

Please sign in to comment.