Bug Description
I'm using is_parent to build a navigation with an active state, similar to the example in the documentation (Nav tag). The navigation is meant to show only those parts of the hierarchy that are current or parents of current. It's been working fine until recently, when I upgraded to 3.0. The code below has been simplified for brevity by removing styles.
<ul>
{{ nav }}
<li>
<a href="{{ url }}">{{ title }}</a>
{{ if children }}
<ul class="{{ is_current || is_parent ? '' : 'hidden' }}">{{ *recursive children* }}</ul>
{{ /if }}
</li>
{{ /nav }}
</ul>
This gets me:

What I want is this:

How to Reproduce
Use the example from the documentation, no parent tag gets the "on" class.
Environment
Statamic 3.0.0 Pro
Laravel 7.26.0
PHP 7.4.6
edalzell/rss 1.0.2
jonassiewertsen/statamic-oh-dear 1.2.1
statamic/collaboration dev-master
statamic/seo-pro 2.0.10
Install method (choose one):
- Fresh install from
statamic/statamic
Bug Description
I'm using is_parent to build a navigation with an active state, similar to the example in the documentation (Nav tag). The navigation is meant to show only those parts of the hierarchy that are current or parents of current. It's been working fine until recently, when I upgraded to 3.0. The code below has been simplified for brevity by removing styles.
This gets me:

What I want is this:

How to Reproduce
Use the example from the documentation, no parent tag gets the "on" class.
Environment
Statamic 3.0.0 Pro
Laravel 7.26.0
PHP 7.4.6
edalzell/rss 1.0.2
jonassiewertsen/statamic-oh-dear 1.2.1
statamic/collaboration dev-master
statamic/seo-pro 2.0.10
Install method (choose one):
statamic/statamic