Я использую tvml
для разработки приложения tvOS.Кнопка «больше» с усечением текста в tvOS не работает
Из-за длинного текста в описании система вырезает длинный текст в короткое описание с помощью кнопки more
.
Однако кнопка more
не работает. После нажатия кнопки он ничего не отображает, и он должен всплывать на экране со всеми описаниями внутри.
Ниже приводится часть кода. Если вы можете мне помочь, я очень благодарен!
<document>
<head>
<style>
</style>
</head>
<compilationTemplate theme="dark">
<list>
<relatedContent>
<itemBanner>
<heroImg src="${this.BASEURL}images/stackImage/stack01.png" width="650" height="650" />
</itemBanner>
</relatedContent>
<header>
<title>This is a title</title>
<subtitle>Aware</subtitle>
<row>
<text>120 minutes</text>
</row>
</header>
<section>
<description allowsZooming="true">This is the long description!This is the long description!This is the long description!This is the long description!This is the long description!This is the long description!
</description>
</section>
<section>
<listItemLockup autoHighlight="true" videoURL="videoURL">
<ordinal minLength="2">1</ordinal>
<title>This is the subject</title>
<decorationLabel>15:28</decorationLabel>
</listItemLockup>
</section>
</list>