nativescript-community / nativescript-community/ui-pager
can support nativescript-vue 3 RC?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
import Pager from '@nativescript-community/ui-pager/vue';
import Pagers from './components/Pagers.vue'
const app = createApp(Pagers);
const pager = app.use(Pager);
pager.start();
System.err: TypeError: Cannot read properties of undefined (reading 'nativeView')
System.err:
System.err: StackTrace:
System.err: mounted(file: src\webpack:\app_nsvue3\node_modules@nativescript-community\ui-pager\vue\pager.js:70:0)
the error happened in:ui-pager/vue/pager.js,
mounted() {
const pagerView = this.$refs.pagerView;
this.pagerView = pagerView.nativeView;
can support nativescript-vue 3 RC?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the NativeScript-Vue 3 RC example and read ui-pager/vue/pager.js, especially mounted() where pagerView.nativeView is accessed. Trace why the $refs.pagerView value is undefined in this setup; the issue is done when the pager initializes without this error under NativeScript-Vue 3 RC.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100