forked from github/plane
* bug:fix recent page hiding last item on scroll #1468 * bug:fix recent page hiding last item on scroll #1468 (#2411) * fixed add label autofocuse --------- Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
This commit is contained in:
parent
c1eb5055e5
commit
61d4e2e016
@ -186,6 +186,7 @@ export const CreateUpdateLabelInline = observer(
|
|||||||
id="labelName"
|
id="labelName"
|
||||||
name="name"
|
name="name"
|
||||||
type="text"
|
type="text"
|
||||||
|
autofocus
|
||||||
value={value}
|
value={value}
|
||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
ref={ref}
|
ref={ref}
|
||||||
|
@ -49,7 +49,9 @@ export const RecentPagesList: React.FC<TPagesListProps> = observer((props) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div key={key} className="h-full overflow-hidden pb-9">
|
<div key={key} className="h-full overflow-hidden pb-9">
|
||||||
<h2 className="text-xl font-semibold capitalize mb-2">{replaceUnderscoreIfSnakeCase(key)}</h2>
|
<h2 className="text-xl font-semibold capitalize mb-2">
|
||||||
|
{replaceUnderscoreIfSnakeCase(key)}
|
||||||
|
</h2>
|
||||||
<PagesView pages={pages[key as keyof RecentPagesResponse]} viewType={viewType} />
|
<PagesView pages={pages[key as keyof RecentPagesResponse]} viewType={viewType} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user