Skip to content

Commit 9baa297

Browse files
committed
Logs
1 parent db4bd78 commit 9baa297

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

lib/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22937,6 +22937,7 @@ var QueryForm = /** @class */ (function (_super) {
2293722937
_this.onSubmit = _this.onSubmit.bind(_this);
2293822938
_this.searchInput = null;
2293922939
_this.setSearchInputRef = function (element) {
22940+
console.log("QueryForm/setSearchInputRef", element);
2294022941
_this.searchInput = element;
2294122942
};
2294222943
return _this;
@@ -22958,6 +22959,7 @@ var QueryForm = /** @class */ (function (_super) {
2295822959
};
2295922960
QueryForm.prototype.componentDidMount = function () {
2296022961
if (this.props.queryFormAutoFocus) {
22962+
console.log("QueryForm/componentDidMount searchInput", this.searchInput);
2296122963
this.searchInput.focus();
2296222964
}
2296322965
};

lib/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/QueryForm.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export class QueryForm extends React.Component<IQueryFormProps, {}> {
3636
this.onSubmit = this.onSubmit.bind(this);
3737
this.searchInput = null;
3838
this.setSearchInputRef = element => {
39+
console.log("QueryForm/setSearchInputRef", element);
3940
this.searchInput = element;
4041
};
4142
}
@@ -59,6 +60,7 @@ export class QueryForm extends React.Component<IQueryFormProps, {}> {
5960

6061
public componentDidMount() {
6162
if (this.props.queryFormAutoFocus) {
63+
console.log("QueryForm/componentDidMount searchInput", this.searchInput);
6264
this.searchInput.focus();
6365
}
6466
}

0 commit comments

Comments
 (0)