Skip to content

Commit

Permalink
fix: make location dialog save button always reachable on small scree…
Browse files Browse the repository at this point in the history
…ns (#2666)

fixes #2655
  • Loading branch information
sadaf895 authored Nov 18, 2024
1 parent 4c62214 commit 16580a7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export class LocationInputComponent extends CustomFormControlDirective<GeoLocati

const ref = this.dialog.open(MapPopupComponent, {
width: "90%",
height: "95vh",
autoFocus: ".address-search-input",
restoreFocus: false,
data: config,
Expand Down
2 changes: 0 additions & 2 deletions src/app/features/location/map-popup/map-popup.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { MapComponent } from "../map/map.component";
import { AsyncPipe } from "@angular/common";
import { MatButtonModule } from "@angular/material/button";
import { LocationProperties } from "../map/map-properties-popup/map-properties-popup.component";
import { AddressSearchComponent } from "../address-search/address-search.component";
import { GeoResult, GeoService } from "../geo.service";
import { catchError, map } from "rxjs/operators";
import { AddressEditComponent } from "../address-edit/address-edit.component";
Expand Down Expand Up @@ -49,7 +48,6 @@ export interface MapPopupConfig {
MapComponent,
MatButtonModule,
AsyncPipe,
AddressSearchComponent,
AddressEditComponent,
],
standalone: true,
Expand Down

0 comments on commit 16580a7

Please sign in to comment.