diff --git a/lib/use-tabs.js b/lib/use-tabs.js index 12ee2cf..e940ddb 100644 --- a/lib/use-tabs.js +++ b/lib/use-tabs.js @@ -45,6 +45,10 @@ const useTabSelectedEffect = (host, selectedTab) => { useTabSelectedEffect(host, selectedTab); + useEffect(() => { + notifyProperty(host, 'selected', selection); + }, []); + useEffect(() => { const onTabAlter = e => { e.stopPropagation();