parent
47701e880a
commit
1a7e5c248f
3
NEWS
3
NEWS
|
@ -1,6 +1,9 @@
|
||||||
3.0.1 (2016-MM-DD)
|
3.0.1 (2016-MM-DD)
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
Enhancements
|
||||||
|
- improved scrolling behavior when deleting a single message (#3489)
|
||||||
|
|
||||||
Bug fixes
|
Bug fixes
|
||||||
- fixed blank calendar view when selecting "Descending Order" in the sort menu
|
- fixed blank calendar view when selecting "Descending Order" in the sort menu
|
||||||
- show active user's default email address instead of system email address (#3473)
|
- show active user's default email address instead of system email address (#3473)
|
||||||
|
|
|
@ -192,6 +192,7 @@
|
||||||
|
|
||||||
if (index >= 0 && index < this.$messages.length) {
|
if (index >= 0 && index < this.$messages.length) {
|
||||||
message = this.$messages[index];
|
message = this.$messages[index];
|
||||||
|
this.$lastVisibleIndex = Math.max(0, index - 3); // Magic number is NUM_EXTRA from virtual-repeater.js
|
||||||
|
|
||||||
if (this.$loadMessage(message.uid))
|
if (this.$loadMessage(message.uid))
|
||||||
return message;
|
return message;
|
||||||
|
|
|
@ -133,7 +133,10 @@
|
||||||
try {
|
try {
|
||||||
if (nextMessage) {
|
if (nextMessage) {
|
||||||
state.go('mail.account.mailbox.message', { messageId: nextMessage.uid });
|
state.go('mail.account.mailbox.message', { messageId: nextMessage.uid });
|
||||||
mailbox.$topIndex = nextIndex;
|
if (nextIndex < mailbox.$topIndex)
|
||||||
|
mailbox.$topIndex = nextIndex;
|
||||||
|
else if (nextIndex > mailbox.$lastVisibleIndex)
|
||||||
|
mailbox.$topIndex = nextIndex - (mailbox.$lastVisibleIndex - mailbox.$topIndex);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
state.go('mail.account.mailbox');
|
state.go('mail.account.mailbox');
|
||||||
|
|
Loading…
Reference in New Issue