Skip to content

Commit

Permalink
Admin/user: fix textarea postion in 'Pending Invites' to avoid page s…
Browse files Browse the repository at this point in the history
…crolling (grafana#19288)

* hide textarea element after click 'Copy Invite' button on firefox
  • Loading branch information
lzdw authored and torkelo committed Sep 23, 2019
1 parent 2d86350 commit 50b4695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/app/features/users/InviteeRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class InviteeRow extends PureComponent<Props> {
<textarea
readOnly={true}
value={invitee.url}
style={{ position: 'absolute', right: -1000 }}
style={{ position: 'absolute', bottom: 0, right: 0, opacity: 0, zIndex: -10 }}
ref={this.copyUrlRef}
/>
Copy Invite
Expand Down

0 comments on commit 50b4695

Please sign in to comment.