src/View/Tab/NavigationIterator.php
public function valid(): bool
    {
        if ($this->currentItem instanceof Dropdown) {
            return $this->currentDropdownItem instanceof NavItem;
        }

        return $this->currentItem instanceof NavItem;
    }
public function valid(): bool
    {
        if ($this->currentItem instanceof Dropdown) {
            return $this->currentDropdownItem instanceof NavItem;
        }

        return $this->currentItem instanceof NavItem;
    }
{@inheritdoc}