Skip to content

Commit f251f5d

Browse files
committed
0.5.2 fixes halfnelson#82
1 parent 6644524 commit f251f5d

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.5.2]
8+
- Fix frame not found by Id [#82](https://github.com/halfnelson/svelte-native/issues/82)
9+
710
## [0.5.1]
811
- Fix animations when using latest svelte
912

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-native",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"description": "Svelte integration for NativeScript",
55
"private": true,
66
"repository": {

src/dom/native/FrameElement.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ export default class FrameElement extends NativeElementNode {
1414
let dummy = createElement('fragment');
1515
let page = new (value as any)({ target: dummy, props: {} });
1616
(this.nativeView as Frame).navigate({ create: () => (dummy.firstElement() as NativeElementNode).nativeView });
17+
return;
1718
}
19+
super.setAttribute(key, value);
1820
}
1921

2022
get nativeView(): Frame {

0 commit comments

Comments
 (0)