diff --git a/Logic/Actors/GeoLocationHandler.ts b/Logic/Actors/GeoLocationHandler.ts index 2433246dc..ceb363d48 100644 --- a/Logic/Actors/GeoLocationHandler.ts +++ b/Logic/Actors/GeoLocationHandler.ts @@ -178,6 +178,7 @@ export default class GeoLocationHandler extends VariableUiElement { leafletMap.data?.dragging?.enable() } }) + this._currentGPSLocation.addCallback((location) => { self._previousLocationGrant.setData("granted"); diff --git a/UI/Input/TextField.ts b/UI/Input/TextField.ts index da3073323..f6960b60a 100644 --- a/UI/Input/TextField.ts +++ b/UI/Input/TextField.ts @@ -41,6 +41,7 @@ export class TextField extends InputElement { el.placeholder = placeholder el.rows = options.textAreaRows el.cols = 50 + el.style.width = "100%" inputEl = el; } else { const el = document.createElement("input")