Subitem fails to expand when in item card view

As the attached images show, sub-items won’t expand after it is clicked. However, the function works fine on the app.