ps-toolkit-ui 1.3.49 → 1.3.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6667,15 +6667,18 @@
6667
6667
  this.onFocusIn();
6668
6668
  };
6669
6669
  FormCarComponent.prototype.onFocusIn = function () {
6670
- if (this.type === exports.VehicleType.Car) {
6671
- this.car.focus();
6672
- }
6673
- else if (this.type === exports.VehicleType.CarF) {
6674
- this.carF.focus();
6675
- }
6676
- else if (this.type === exports.VehicleType.Motorcycle) {
6677
- this.motor.focus();
6678
- }
6670
+ var _this = this;
6671
+ setTimeout(function () {
6672
+ if (_this.type === exports.VehicleType.Car) {
6673
+ _this.car.focus();
6674
+ }
6675
+ else if (_this.type === exports.VehicleType.CarF) {
6676
+ _this.carF.focus();
6677
+ }
6678
+ else if (_this.type === exports.VehicleType.Motorcycle) {
6679
+ _this.motor.focus();
6680
+ }
6681
+ }, 10);
6679
6682
  };
6680
6683
  return FormCarComponent;
6681
6684
  }());