From 1cc1e545a012e685bfa8314a648fdca6e1a7ca45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Siatka?= Date: Tue, 15 Oct 2019 11:18:18 +0200 Subject: [PATCH] Explore: adds a ref to responsive button --- public/app/features/explore/ResponsiveButton.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/features/explore/ResponsiveButton.tsx b/public/app/features/explore/ResponsiveButton.tsx index 97f763e57f1..2d11e5adc76 100644 --- a/public/app/features/explore/ResponsiveButton.tsx +++ b/public/app/features/explore/ResponsiveButton.tsx @@ -31,6 +31,7 @@ export const ResponsiveButton = forwardRef((props, ref className={`btn navbar-button ${buttonClassName ? buttonClassName : ''}`} onClick={onClick} disabled={disabled || false} + ref={ref} > {iconClassName && iconSide === IconSide.left ? : null} {!splitted ? formatBtnTitle(title, iconSide) : ''}