Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash related to focus when only calendar editor is opened #10259

Open
ghulamghousdev opened this issue Oct 24, 2024 · 0 comments
Open

Crash related to focus when only calendar editor is opened #10259

ghulamghousdev opened this issue Oct 24, 2024 · 0 comments
Labels
bug Something isn't working forum Issues from forum large-account Reported by large customer

Comments

@ghulamghousdev
Copy link
Member

Forum post

Hi,

In our Angular project we need to create a screen with only the calendar editor. We can display it on the screen but when we tap on it, an error is generated.

Would I need to configure any properties?

Thanks

core.mjs:7635 ERROR NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
    at _CalendarEditor.toFront (gantt.module.js:43597:14)
    at _CalendarEditor.toFront (gantt.module.js:52647:13)
    at _CalendarEditor.onFocusIn (gantt.module.js:45228:10)
    at _CalendarEditor.onFocusIn (gantt.module.js:52625:11)
    at focusin (gantt.module.js:11622:69)
    at HTMLBodyElement.handler (gantt.module.js:8478:72)
    at _ZoneDelegate.invokeTask (zone.js:406:31)
    at Object.onInvokeTask (core.mjs:26218:33)
    at _ZoneDelegate.invokeTask (zone.js:405:60)
    at Zone.runTask (zone.js:178:47)
  <bryntum-calendar-editor
    #bryntumCalendar
    [closable]="calendarProps.closable!"
    [maximized]="calendarProps.maximized!"
    [draggable]="calendarProps.draggable!"
</bryntum-calendar-editor>
export class CalendarsComponent implements OnInit,{
  @ViewChild('bryntumCalendar', { static : false }) calendarComponent!: BryntumCalendarEditorComponent;
 
  calendarProps: BryntumCalendarEditorProps;
 
  constructor() { }

  ngOnInit() {
    this.calendarProps = {
      closable: false,
      draggable: false,
      maximized: true,
    } as BryntumCalendarEditorProps;
  }

}

angular-calendar-editor.zip

@ghulamghousdev ghulamghousdev added bug Something isn't working forum Issues from forum large-account Reported by large customer labels Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum large-account Reported by large customer
Projects
None yet
Development

No branches or pull requests

1 participant